Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Regex re_eval - requires explicit package name

by trizen (Hermit)
on Jan 20, 2013 at 10:36 UTC ( #1014279=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    use 5.010;
    ...
    if($x =~ /func$bpairs{'{'}/){       # here is the problem
        print "Second matched: $&\n";
    }
    
  2. or download this
    After eval!
    After eval!
    First matched: {{xx|"}"} @{d}end}
    Global symbol "$d" requires explicit package name at (re_eval 9) line 
    +1.
    Compilation failed in regexp at test.pl line 43.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1014279]
Approved by Corion
Front-paged by Lotus1
help
Chatterbox?
[karlgoethebier]: shmem: yes - i f you manage it to get on the bike. and pray if you must stop...
[shmem]: in the french alpes, at the end of a gravel road, we had a beer at a hut - and heard an enduro coming up.
[shmem]: not by the road, but from there below where you wouldn't want to walk.
[shmem]: the biker stopped the machine at the table and took off his helmet.
[shmem]: long white hair, long beard the same, then he proceeded to get off the bike
[shmem]: saying "biking itself isn't that much, but getting up and down - hell!"
[shmem]: up and down: on and off the bike, of course

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2017-06-25 20:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (570 votes). Check out past polls.