William M West wrote: > > # still unclear about '-w' verses 'use warnings'
The warnings pragma was introduced in Perl5 for lexically scoped
warnings. In other words you can turn warnings on or off inside a
limited scope.
while ( <> ) {
# turn off "other" warnings inside this while loop
no warnings 'other';
# some code that produces an "other" warning
}
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
