Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Code style advice: where to put "use" statements?

by tirwhan (Abbot)
on Feb 27, 2008 at 10:20 UTC ( #670572=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
        my $r = "thirdsub";
        print Dumper $r;
    }
    
  2. or download this
    Name "Frob::Dumper" used only once: possible typo at useuse.pl line 31
    +.
    $VAR1 = 'secsub';
    $VAR1 = 'thirdsub';
    print() on unopened filehandle Dumper at useuse.pl line 31.