topical media & game development
basic-regex-10-JimOrFred3.pl / pl
#!/usr/bin/perl -w
use strict;
print "This program will say 'Hello' to Jim or Fred.\n";
my myTestString = <STDIN>;
chomp (myTestString =~ m/myTestString. How are you today?";
}
else
{
print "Sorry I don't know you!";
}
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.