Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: working with directoriesby tobyink (Canon) |
on Sep 12, 2013 at 12:03 UTC ( [id://1053702]=note: print w/replies, xml ) | Need Help?? |
Your while loop is pretty useless.
... is basically a convoluted way of writing:
Generally speaking, I'd recommend Path::Tiny as a much easier way of dealing with files and directories than Perl's built-ins.
use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name
In Section
Seekers of Perl Wisdom
|
|