On 21 Apr 2001, at 13:40, Vicki Brown wrote: > Let's imagine for a moment that you have a Perl script, fooscript. It starts > like this, with a POD header all ready for pod2man. > > #!/usr/bin/perl > > =head 1 NAME > > fooscript - a script that really foos > > =head SYNOPSIS > > fooscript -f -g -h > > > Now, consider foa moment that you've made a small editing mistake. There is a > blank line above the > > #!/usr/bin/perl > > Now, imagine that you run this script... > > fooscript > > What will your system administrator's reaction be? Probably not a happy camper. Unless I'm missing some real trickery, the blank line will kill the shebang, and so the kernel will feed the script to your shell. # is a comment and it is unlikely that you have a program in your path whose name is '=head', so that'll generate an error... and then your program will try to call itself at the > fooscript - a script that really foos and the new instance will try to call ITSELF, and so on ad infinitum. /Bernie\ -- Bernie Cosell Fantasy Farm Fibers mailto:bernie@fantasyfarm.com Pearisburg, VA --> Too many people, too few sheep <-- ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe