|
|
| P is for Practical | |
| PerlMonks |
Re: Perl Golf Proposalby chipmunk (Parson) |
| on May 23, 2001 at 06:53 UTC ( #82461=note: print w/ replies, xml ) | Need Help?? |
|
Keeping in mind that this golf challenge asks for a program rather than a subroutine... :) 48 characters: example usage: perl missing.pl bar .jpg 0000 0050 Hurrah for the range operator and magical auto-increment! As best I can figure it, the only way to accurately accomplish the bonus (checking for a comparison string that's too big) is to check all the files in the directory. Otherwise there could be one file in there with a unique part of the right length.
In Section
Meditations
|
|
||||||||||||||||||||||||