Help for this page

Select Code to Download


  1. or download this
    syntax error at Module.pm line 5, near "$\("
    BEGIN not safe after errors--compilation aborted at Module.pm line 5.
    
  2. or download this
    package Module;
    use strict;
    ...
        $pathname =~ s/\.pm$/.conf/;
    }
    1;
    
  3. or download this
    "$\(__PACKAGE__)}.pm"
    
  4. or download this
    $\ . "(__PACKAGE__)}.pm"
    
  5. or download this
    my $pathname = $INC{__PACKAGE__ . ".pm"};
    
  6. or download this
    my $pathname = __FILE__;