Help for this page

Select Code to Download


  1. or download this
    package Utilities;
    
    ...
    our $UTIL_THAT = "util_that";
    
    1;
    
  2. or download this
    $ perl -Mstrict -Mwarnings -E '
        use Utilities;                     
    ...
    '
    Global symbol "$SYS_DIR" requires explicit package name at -e line 3.
    Execution of -e aborted due to compilation errors.
    
  3. or download this
    $ perl -Mstrict -Mwarnings -E '
        use Utilities qw{$SYS_DIR};        
        say $SYS_DIR;
    '
    sys_dir
    
  4. or download this
    $ perl -Mstrict -Mwarnings -E '
        use Utilities qw{:SYS};            
        say $SYS_DIR;
    '
    sys_dir
    
  5. or download this
    $ perl -Mstrict -Mwarnings -E '
        use Utilities qw{:UTIL $SYS_OTHER};
    ...
    '
    sys_other
    util_that