Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^8: How to look for two different file extensions?

by 1nickt (Canon)
on Mar 10, 2017 at 00:17 UTC ( [id://1184116]=note: print w/replies, xml ) Need Help??


in reply to Re^7: How to look for two different file extensions?
in thread How to look for two different file extensions?

Your code is no closer to English than

say $_ if $_ =~ /(2|3|5|8)/;
But even if the beginner found it for some reason more like the aforementioned European language, in which, it is to be assumed in your scenario, he has great fluency, please explain again why would it be a good idea for him to learn that syntax, which doesn't work in the language he is (a) asking about and (b) hoping to use to accomplish an actual task?

And people say I have an agenda!


The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^9: How to look for two different file extensions?
by jdporter (Paladin) on Mar 10, 2017 at 20:43 UTC

    To paraphrase the old proverb: "It doesn't matter whether it's 'closer to English' if it gives the wrong answer."

Re^9: How to look for two different file extensions?
by Your Mother (Archbishop) on Mar 15, 2017 at 21:19 UTC

    Needs ^anchors$ if these are to be == matches. :P

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-19 02:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found