Re: use warnings, was Re: problem with rand on OSX

From: ? the Platypus {aka David Formosa} (dformosa_at_zeta.org.au)
Date: 09/30/04


Date: 30 Sep 2004 20:24:46 +1000


"David H. Adler" <dha@panix2.panix.com> writes:

[...]

> For one thing the warnings pragma is more flexible than -w. On the
> other hand, if you're using a sufficiently old version of perl, it does
> not exist.

With 5.8.0 you could switch off -w dervived warnings using no warnings
'blah'; just as effectively as if you used use warnings; And -w takes
only two keypresses.

-- 
Please excuse my spelling as I suffer from agraphia. See
http://dformosa.zeta.org.au/~dformosa/Spelling.html to find out more.
Free the Memes.


Relevant Pages

  • Re: error messege: "subroutine Cwd::fastcwd redefined"
    ... Attached is the file created by perlbug. ... asking for all warnings even though Cwd is trying (via the older ... case it looks like a bug in the Perl distribution. ... HOME (unset) ...
    (perl.beginners)
  • Re: file rename help
    ... > I am very novice as you will see in my Perl skills. ... use warnings; ... because I am not afraid of undef values, ... even as a piece of shell code, your command is wasting at least two ...
    (comp.lang.perl.misc)
  • Re: Multiple Parameters
    ... The above two lines ask Perl to hold you to the laws of good ... programming. ... you'll get better error messages and warnings ...
    (perl.beginners)
  • Re: Newbie questions, migrating from c++
    ... > to get no warnings using SEEK_SET etc, ... So if I'm to do something with chars in string (or perl ... It is not a good idea to use this method of subroutine invocation unless ... sub no_need { ...
    (comp.lang.perl.misc)
  • Re: Newbie. Use of uninitialized value in print??
    ... > Im having problems getting some Perl code to work (im a programming ... You should ask for all the help the perl can give you. ... Did your online reading include the posting guidelines for this group? ... Warnings: The script below ignores various issues such as the cases ...
    (comp.lang.perl.misc)