Help for this page

Select Code to Download


  1. or download this
    The array contents are
    ...
    
  2. or download this
    my @a = qw/C:\abc\dfg\axy C:\abc\dfg\#@$#@$@\hwllo/;
    for ( @a ) {
        my @p = split /\\/;
        print "last-component= ", $p[-1], " and next-to-last= ", $p[-2], "
    +\n";
    }