http://qs1969.pair.com?node_id=850915


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).