Help for this page

Select Code to Download


  1. or download this
      use File::Spec;
      my $filepath = File::Spec->catfile( $dir, $filename );
    
  2. or download this
      use File::Spec::Unix;
      use URI;
      my $uri = URI->new( $base );
      $uri->path( File::Spec::Unix->catfile( $uri->path, 'foo.html' ) );