Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Message while using modlues

by mda2 (Hermit)
on May 02, 2006 at 17:09 UTC ( #546951=note: print w/replies, xml ) Need Help??


in reply to Message while using modlues

You can use diagnostics module to understand many warnings and errors...

Using this code:

use warnings; use strict; sub a{ 1 }; sub a{ 2 };

Diagnostics says:

$ perl -Mdiagnostics x Subroutine a redefined at x line 6 (#1) (W redefine) You redefined a subroutine. To suppress this warning +, say { no warnings 'redefine'; eval "sub name { ... }"; }

.............

--
Marco Antonio
Rio-PM

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://546951]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2019-12-07 17:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (162 votes). Check out past polls.

    Notices?