Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Evaluating code in a regex at runtime: (??{...})

by LanX (Chancellor)
on Jan 28, 2013 at 07:34 UTC ( #1015637=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      DB<113> ('a' x 10) =~ /((??{'(.)' x 10}))/; print "<$1>"
     => 1
    <aaaaaaaaaa>
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2016-06-30 18:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (402 votes). Check out past polls.