Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: cwd pragma (rfc)by japhy (Canon) |
on Jun 27, 2006 at 22:34 UTC ( [id://557886]=note: print w/replies, xml ) | Need Help?? |
I would suggest changing $realpath =~ s/$basename$//; to $realpath =~ s/\Q$basename\E$//;
In Section
Seekers of Perl Wisdom
|
|