mipatel has asked for the wisdom of the Perl Monks concerning the following question:
i have a script that generates the output with the fullpath of the directory.
i want the output asExample y:/home/lib/directory/book y:/home/lib/directory/book_manager y:/home/lib/directory/piano_book
is there any regex for this guys? i tried doing this but it still leaves the slash at the end $output =~ s{.*(/)}{$1};book book_manager piano book
Back to
Seekers of Perl Wisdom