Hello,
This is my first post.

I have perl code to strip the root folder in a path.
($shortpath = $fullpath) =~ s|/[^/]+||;

However, this gives syntax errors when used in my CGI script that calls my perl 
script.

Can I have the CGI equivalent?

Warm regards
Saurabh

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to