Perl - P°φklad 8 5. listopadu 1998 xskrivan@fi.muni.cz |
#!/usr/bin/perl print "Zadej jmΘno \n"; $jmeno = <STDIN>; $vetrelec = 0; # prom∞nnß vet°elec je zatφm nepravdivß unless ($jmeno =~ /Karel|Jan|Petr|Ev₧en|Ji°φ/) { $vetrelec = 1; } print "Dostal se sem vet°elec \n" if ($vetrelec); |
[Zp∞t] | [Zm∞na k≤dovßnφ] | [Domovskß strßnka] | á[StromeΦek] |