Help for this page

Select Code to Download


  1. or download this
    foreach my $pwd (split(/\\/,'\foo\foo1\foo2')) { ...
    
  2. or download this
    foreach my $pwd (split(/\\/,'\foo\foo1\foo2')) {
        print $pwd, "\n";
    }
    
  3. or download this
    __OUTPUT__
    
    foo
    foo1
    foo2