in reply to shrinking the path

$folder_path=~s/$sourcedir/Eitv9/;
Note that this line replace your path even if it is somewhere in the middle of $folder_path.
Boris

Replies are listed 'Best First'.
Re^2: shrinking the path
by holli (Abbot) on Feb 01, 2005 at 09:53 UTC
    that won´t work, because of the backslashes in $sourcestring. They must be escaped.

    holli, regexed monk