in reply to Re^3: Supressing warnings
in thread Supressing warnings
#!/home/mh/perl512/bin/perl -w warn "Hubba\n"; # script a.pl, produces warning
When you run this as "perl -X a.pl" you still get the warning - even though -X should disable them.
Is that because -w (from shebang) is "stronger" than -X (from command line)?
UPDATE:
The above is crap - sorry.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Supressing warnings
by Boldra (Deacon) on Jul 23, 2010 at 07:10 UTC |
In Section
Seekers of Perl Wisdom