Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Iterating over code embeded in regex

by Samy_rio (Vicar)
on Jun 13, 2006 at 04:01 UTC ( [id://554945]=note: print w/replies, xml ) Need Help??


in reply to Iterating over code embeded in regex

Hi eibwen, Try like this,

use strict; use warnings; my @letters = ('a'..'z'); for (0..$#letters) { $letters[$_] =~ m/(?{ print $_ })(?!)/; }

Regards,
Velusamy R.


eval"print uc\"\\c$_\""for split'','j)@,/6%@0%2,`e@3!-9v2)/@|6%,53!-9@2~j';

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-19 15:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found