Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Reading Directoryby Sun751 (Beadle) |
on Jul 14, 2009 at 07:56 UTC ( [id://779823]=perlquestion: print w/replies, xml ) | Need Help?? |
Sun751 has asked for the wisdom of the Perl Monks concerning the following question:
my directory holds another directory name "p17" and I am doing following to read that directory,
After running above code I am getting following values in @a (array), 0 '.' 1 '..' 2 'p17' but I am suppose to get just p17, Have I done any thing wrong, can any one suggest me how can I get just another directory(p17)name???
Back to
Seekers of Perl Wisdom
|
|