Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Bareword "FILE" not allowed while "strict subs"by Anonymous Monk |
on Oct 11, 2007 at 12:26 UTC ( [id://644197]=note: print w/replies, xml ) | Need Help?? |
please try:
sub slurp {
open("FILE","<params.inc") || die $! ;
restore_parameters(FILE);
close("FILE");
}
Cheers,
Ric
In Section
Seekers of Perl Wisdom
|
|