Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Requires explicit package name

by Narveson (Chaplain)
on Nov 28, 2008 at 21:27 UTC ( [id://726674] : note . print w/replies, xml ) Need Help??


in reply to Re^2: Requires explicit package name
in thread Requires explicit package name

So does
no strict; $some_var = "some value"; print $some_var;

Would we sincerely recommend either method of silencing the error messages in the original post?

Replies are listed 'Best First'.
Re^4: Requires explicit package name
by Anonymous Monk on Nov 29, 2008 at 12:54 UTC
    No, I wouldn't :)
    I was merely trying to point out that the problem could be fixed by following the suggestion made in the error message, not that it necessarily was the best option ;)