Just another Perl shrine | |
PerlMonks |
Re^2: Wildcards for a wide array of strings?by Discipulus (Canon) |
on May 24, 2017 at 08:33 UTC ( [id://1191057]=note: print w/replies, xml ) | Need Help?? |
Hello again zarath, glad you solved your issue and that you started to like the Perl many ways to problem solving. Perlmonks is a wonderful place to learn. Just a little consideration: finally you ended with 'D:\\Some\\Specific\\Folder\\' why? We all know MSwin32 is a weird platform and \\ will work, as will work c:/path\\to\\\another\\\\dir that is weird. Windows also accept the Linux directory separator / and I usaully use it in my programs: you can be interested by Paths in Perl and as the wise mr_mischief altready suggested, to use File::Spec module that with a bit of overhead makes your programs portable to different platform. L*
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
In Section
Seekers of Perl Wisdom
|
|