Help for this page

Select Code to Download


  1. or download this
    C:\>perl -w -MStrict -le "Strict->import"
    
    C:\>perl -w -MStrict -le "Strict->foo"
    Can't locate object method "foo" via package "Strict" 
    (perhaps you forgot to load "Strict"?) at -e line 1.
    
  2. or download this
    package FooBar;
    require Exporter;
    ...
    }
    
    1;
    
  3. or download this
    #!/usr/bin/perl
    use strict;
    ...
    use FooBar qw(foo);
    
    foo();
    
  4. or download this
    #!/usr/bin/perl
    use strict;
    ...
    use foobar qw(foo);
    
    foo();