in reply to Obfu/golf Contest
Is it ok with you to use commandline options in the #! line? (like -l etc)
If so:
#!/usr/bin/perl -l print "Please enter the string to be searched for the string 'monkey': +"; print "String 'monkey' was ",<>!~/monkey/&&'not ',"found in the input +string.";
else:
#!/usr/bin/perl print "Please enter the string to be searched for the string 'monkey': +\n"; print "String 'monkey' was ",<>!~/monkey/&&'not ',"found in the input +string.\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Obfu/golf Contest
by tall_man (Parson) on Feb 19, 2003 at 16:36 UTC | |
|
Re: Re: Obfu/golf Contest
by xmath (Hermit) on Feb 19, 2003 at 16:53 UTC |