Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Passing regex to a subroutine

by mbethke (Hermit)
on Oct 12, 2012 at 21:26 UTC ( #998788=note: print w/replies, xml ) Need Help??


in reply to Re^2: Passing regex to a subroutine
in thread Passing regex to a subroutine

Actually your problem was that you passed the regex to a command (`dir`) that didn't understand it. Doing it all in Perl makes much more sense of course, but if the suffix is significant you'll still have to integrate it into the regex.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://998788]
help
Chatterbox?
[LanX]: whats the best way to restrict a MySQL Text Column to alphanums + underscore ?
[LanX]: CHARACTER SET?
[chacham]: ought to be a check constraint.

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (15)
As of 2017-03-30 15:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (360 votes). Check out past polls.