Perl-Sensitive Sunglasses | |
PerlMonks |
Regular expression parse pathnameby unixguy (Acolyte) |
on Jan 29, 2010 at 00:41 UTC ( [id://820274]=perlquestion: print w/replies, xml ) | Need Help?? |
unixguy has asked for the wisdom of the Perl Monks concerning the following question:
I want to print unix path name like tree.
e.g path name: /home/code/work I want to print like this. /home /home/code /home/code/work I tried this one line, didn't print what I want
home code work Can some one help me on this? Thanks
Back to
Seekers of Perl Wisdom
|
|