Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
i modified the regex to be s#.*/(.*)#$1#, and it seems to work for me.
Incidentally, perl complains about the \1 because you are doing it from the command line, and your shell is subject to processing escape characters as well. If you put the code above into a file, and do perl file.pl, it doesn't complain about using a \1. -marius In reply to Re: More than one way to do it???
by marius
|
|