Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Regex catching multiple characters next to each other

by AnomalousMonk (Archbishop)
on Oct 06, 2014 at 13:04 UTC ( [id://1102955]=note: print w/replies, xml ) Need Help??


in reply to Re: Regex catching multiple characters next to each other
in thread Regex catching multiple characters next to each other

use v5.14;

NB: Perl version 5.14 is needed only for say. The regexery works fine under 5.8.9 (tested) and I think it would work as well under 5.0, but I can't test back that far and I'm too lazy to check the docs.

Replies are listed 'Best First'.
Re^3: Regex catching multiple characters next to each other
by blindluke (Hermit) on Oct 06, 2014 at 20:12 UTC

    It sure works on 5.8.8 that ships with my AIX. Still, I have at least two other reasons for using the 'use 5.14;' line: it's a good shortcut for 'use strict;', and it's an expression of my firm belief that we should try to promote using modern versions of Perl as often as possible.

    But you are right in making it clear that if someone wants to use this approach, he should not be discouraged by the version statement I used. I should have added this to my reply. Thank you.

    Luke Jefferson

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2024-04-26 05:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found