On Mar 18, 2006, at 23:58, tom arnall wrote:

getting:

        Global symbol "$fn" requires explicit package name at ./v line 3
        
where line 3 is:

         my $b = `cat $fn`;
        
is it the case that using a variable as a container for a command line
argument, creates a problem for 'use strict'?

I don't understand how the question relates to the trials. To know the answer you just write:

   use strict;

   my $fn = shift;
   my $b = `cat $fn`;

Why those convoluted BEGINs with ours() and friends?

-- fxn



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to