Tobiwan has asked for the wisdom of the Perl Monks concerning the following question:
If you remove the "use warnings" or "use strict" there is no change in output. Even if you say "no strict" or "no warnings".package Test; use warnings; use strict; sub bintodec { unpack("N", pack("B32", substr("0" x 32 . shift, -32))); } print "\nW: " . bintodec($^W); print "\nW_BITS: " . bintodec(${^WARNING_BITS}); print "\nH: " . bintodec(${^H});
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Find out, if "use warnings(all)" and "use strict(all)" are used
by shmem (Chancellor) on Apr 23, 2007 at 12:33 UTC | |
|
Re: Find out, if "use warnings(all)" and "use strict(all)" are used
by rhesa (Vicar) on Apr 23, 2007 at 13:23 UTC | |
|
Re: Find out, if "use warnings(all)" and "use strict(all)" are used
by cdarke (Prior) on Apr 23, 2007 at 12:43 UTC | |
|
Re: Find out, if "use warnings(all)" and "use strict(all)" are used
by Krambambuli (Curate) on Apr 23, 2007 at 14:39 UTC | |
by Tobiwan (Beadle) on Apr 23, 2007 at 20:49 UTC |