Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
please help and thanks in advance!($old, $new) = @ARGV; if (-d $new) { ($basename = $old) =~ s#.*/##s; #what two s and three #mean ? $new .= "/$basename"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: regular express problem
by davido (Cardinal) on Jun 16, 2004 at 18:32 UTC | |
|
Re: regular express problem
by sweetblood (Prior) on Jun 16, 2004 at 18:28 UTC | |
|
Re: regular express problem
by dragonchild (Archbishop) on Jun 16, 2004 at 18:24 UTC |