in reply to how to remove everything before last slash in perl?
It sounds like File::Basename might be a good fit for you. But if you *really* want to use a regex, you could do something like s#^.*/##.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to remove everything before last slash in perl?
by mipatel (Novice) on Jun 23, 2012 at 19:56 UTC | |
by Jim (Curate) on Jun 24, 2012 at 02:34 UTC |