Perl: the Markov chain saw | |
PerlMonks |
Re^2: Supressing warningsby morgon (Priest) |
on Jul 22, 2010 at 21:22 UTC ( [id://850915]=note: print w/replies, xml ) | Need Help?? |
The #! line is always examined for switches as the line is being parsed.
Funny, I never knew that. It does not even need to contain a path to perl, all it needs is an occurance of the string "perl". If a.pl e.g. starts with "#!end lines properly! -d", then "perl a.pl" starts the debugger. I hope I find a way to turn this knowledge into a beer at the upcoming YAPC::Europe (even though I think this behavour does not really makes sense).
In Section
Seekers of Perl Wisdom
|
|