Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to Re: Wildcards for a wide array of strings?
in thread Wildcards for a wide array of strings?

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.

Replies are listed 'Best First'.
Re^3: Wildcards for a wide array of strings?
by zarath (Beadle) on May 24, 2017 at 08:45 UTC

    Hi Discipulus,

    Deciding on the platform that we use is not up to me (above my paygrade). I think they landed on this back in the day because they needed something easily implemented and they needed it instantly. The company I work for kind of tried to ride a bicycle before it could crawl. Right now it's got walking down and learning to run. We'll have to look into other platforms, but at the moment it is not in the top 10 prio-list.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1191057]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2024-04-24 17:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found