Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    use warnings;
    ...
    
    print "This script is: ".abs_path($0)."\n";
    print "Working dir is: ".getcwd()."\n";
    
  2. or download this
    my $abs_filepath = abs_path("$module_dir/$relative_pilepath");