nitai0 has asked for the wisdom of the Perl Monks concerning the following question:
Dear all,
NEED HELP!!!
I am new to Perl,(only 6 month experience).
I am working in web based application using CPAN.
they are using "use warnings" for enable warnings for in all pm modules.
There are 3 servers (development, testing and main) respectively where we can run the application.
Now their requirement is, THEY DON'T NEED PERL WARNING FOR MAIN SERVER (server 3).
means, for the firsts 2 server(development and testing)the Perl warning will display as before but when we run the application in 3rd server the perl warning should not display.
IS IT POSSIBLE to write any config file where I can change "use warnings" to "no warnings" depending on the server configuration in run time or something like that.
HOW TO DO THIS --ANY IDEA..thanks in advance
...regards nitai
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Disable Perl warning
by ColonelPanic (Friar) on Nov 26, 2012 at 09:10 UTC | |
by davido (Cardinal) on Nov 26, 2012 at 17:35 UTC | |
by choroba (Cardinal) on Nov 27, 2012 at 10:37 UTC | |
by tobyink (Canon) on Nov 27, 2012 at 10:53 UTC | |
|
Re: Disable Perl warning
by zwon (Abbot) on Nov 26, 2012 at 06:49 UTC | |
|
Re: Disable Perl warning
by frozenwithjoy (Priest) on Nov 26, 2012 at 06:31 UTC | |
by davido (Cardinal) on Nov 26, 2012 at 06:51 UTC | |
by zwon (Abbot) on Nov 26, 2012 at 06:44 UTC |