Help for this page

Select Code to Download


  1. or download this
    use URI::file qw( );
    
    my $url = URI::file->new_abs("webpage.html");
    
  2. or download this
    use Cwd       qw( realpath );
    use URI::file qw( );
    
    my $url = URI::file->new("webpage.html")->abs(realpath($0));