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

Re^3: How to use "less than" and "greater than" inside a regex for a $variable number

by AnomalousMonk (Canon)
on Oct 02, 2012 at 03:18 UTC ( #996788=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >perl -wMstrict -le
    "for my $n (4 .. 9) {
    ...
    '7'
    'I have 5 apples, 8 oranges, and 8 limes.'
    'I have 5 apples, 9 oranges, and 8 limes.'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://996788]
help
Chatterbox?
[ambrus]: if you have such a deep data structure, and you have trouble dereferencing it, then you should probably think through whether that's really the best data structure you should use
[choroba]: $aohoaoh[0]{foo}[0 ]{bar} was my suggestion

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (12)
As of 2016-12-06 14:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (105 votes). Check out past polls.