Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my @foo = splitdir ($path);
    my $subpath = catdir (@foo[1..3]); # Note that the "volume" is blank s
    +o skip that
    print "Sub path = $subpath\n";
    
  2. or download this
    Sub path = a\b\c