in reply to Re: Supressing warnings
in thread Supressing warnings
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).
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Supressing warnings
by almut (Canon) on Jul 22, 2010 at 21:39 UTC | |
by morgon (Priest) on Jul 22, 2010 at 23:27 UTC | |
by almut (Canon) on Jul 23, 2010 at 00:14 UTC | |
by morgon (Priest) on Jul 22, 2010 at 23:41 UTC | |
by Boldra (Deacon) on Jul 23, 2010 at 07:10 UTC |
In Section
Seekers of Perl Wisdom