|
|
| Paul Shepherd 2004-03-18, 6:47 pm |
| i know that in unix i'd start the script perl -w but how do i switch warning
mode on in a windows perl script?
| |
| Jürgen Exner 2004-03-18, 6:47 pm |
| Paul Shepherd wrote:
> i know that in unix i'd start the script perl -w but how do i switch
> warning mode on in a windows perl script?
use warnings;
jue
| |
|
| At 2004-03-06 11:33 -0000, Paul Shepherd wrote:
> i know that in unix i'd start the script perl -w but how do i switch warning
> mode on in a windows perl script?
>
You can do that in Windows too, however it's usually best to enable
warnings (on any platform) with
use warnings;
| |
| Tintin 2004-03-18, 6:47 pm |
|
"Paul Shepherd" <paul.shepherd@virgin.net> wrote in message
news:c2f18o$ilb$1@news6.svr.pol.co.uk...
> i know that in unix i'd start the script perl -w but how do i switch
warning
> mode on in a windows perl script?
In exactly the same way.
If you have Perl 5.6.x or greater, you can use
use warnings;
|
|
|
|