"be consistent" | |
PerlMonks |
Why can't I use s///by njack (Novice) |
on May 08, 2013 at 16:45 UTC ( [id://1032637]=perlquestion: print w/replies, xml ) | Need Help?? |
njack has asked for the wisdom of the Perl Monks concerning the following question: Hi everyone, I've got a problem I just cant figure out... I want to remove the initial part of some strings. Example: "../files/jack/2012/derpone.pdf" should become "derpone.pdf"So i have this: And it works like a charm on Padre. But when I load the .cgi file on the server of my university it doesn't work anymore. It' a copy paste and yet on my webpage i get ../files/jack/2012/derpone.pdf the regular expression should: ../letters/letters/4 numbers/ What is the problem?
Back to
Seekers of Perl Wisdom
|
|