I believe perl 5.6.0 has a new pragma:
use warnings;
this can be used inside modules and will turn on
warnings for that module only. See the new docs
for details.
--
___cliff [EMAIL PROTECTED]
Scott Alexander wrote:
> Hi,
>
> I've used #!/usr/bin/perl -w in all of my scripts
>
> but how can I use -w in a package ?
>
> I have always declared variables with my in a sub but speling mistakes will
> happen. And I don't get any warnings. How can I do this?
>
> regards and thanks in advance
>
> Scott
>
> ----------------------------------------
> Scott Alexander tietoverkkosuunnittelija
> [EMAIL PROTECTED]
> gsm: +358 (0)40 7505640