Help for this page

Select Code to Download


  1. or download this
    package module1;
    
    ...
    @EXPORT_OK = qw($str);
    
    1;
    
  2. or download this
    #!/usr/bin/perl -w
    
    ...
    use module1 qw($str);
    
    print $str;
    
  3. or download this
    Global symbol "$str" requires explicit package name at ./script.pl lin
    +e 7.
    Execution of ./script.pl aborted due to compilation errors.