Where are the warnings "keywords"?

Discussion in 'Perl Misc' started by bill, Mar 13, 2005.

  1. bill

    bill Guest

    Suppose one wants to use a selectively localized application of

    no warnings 'xyz';

    to silence a particular Perl warning. How does one determine the
    xyz corresponding to the warning one wants to silence?

    Thanks!

    bill
    bill, Mar 13, 2005
    #1
    1. Advertising

  2. bill <> wrote in news:d11h2g$qu3$1
    @reader1.panix.com:

    > Suppose one wants to use a selectively localized application of
    >
    > no warnings 'xyz';
    >
    > to silence a particular Perl warning. How does one determine the
    > xyz corresponding to the warning one wants to silence?


    One first reads the documentation for warnings

    perldoc warnings

    which points one to

    perldoc perllexwarn

    Sinan.
    A. Sinan Unur, Mar 13, 2005
    #2
    1. Advertising

  3. bill

    bill Guest

    In <Xns96185C058C330asu1cornelledu@127.0.0.1> "A. Sinan Unur" <> writes:

    >bill <> wrote in news:d11h2g$qu3$1
    >@reader1.panix.com:


    >> Suppose one wants to use a selectively localized application of
    >>
    >> no warnings 'xyz';
    >>
    >> to silence a particular Perl warning. How does one determine the
    >> xyz corresponding to the warning one wants to silence?


    >One first reads the documentation for warnings


    >perldoc warnings


    >which points one to


    >perldoc perllexwarn


    As it turns out I *had* read perllexwarn, but managed to miss the
    crucial xref to perldiag.

    Thanks,

    bill
    bill, Mar 13, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bruce
    Replies:
    0
    Views:
    676
    Bruce
    Aug 13, 2004
  2. valentin tihomirov

    Advantages of denying keywords as identifiers

    valentin tihomirov, Dec 17, 2004, in forum: VHDL
    Replies:
    8
    Views:
    503
    Mike Treseler
    Dec 28, 2004
  3. dw

    Friend & Protected keywords

    dw, May 15, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    4,837
  4. David Lozzi

    Search using multiple keywords

    David Lozzi, Jun 2, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    523
    David Lozzi
    Jun 2, 2005
  5. Ted Sung
    Replies:
    1
    Views:
    299
    Sherm Pendley
    Aug 30, 2004
Loading...

Share This Page