Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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?
[LanX]: lol
[ambrus]: no, the chess bishop itself is a joke on real bi-shops
[ambrus]: or at least on the stereotype of bi-shops
[choroba]: we call chess bishops "archers"
[Eily]: choroba sorry, I had to get that off my chess
[ambrus]: chess certainly hasn't started those stereotypes, like how kings aren't that powerful but has convinced their whole country to work for them, etc. it's just poured them to a nice clean form that would easily get propagated.

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (13)
As of 2017-09-26 12:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (294 votes). Check out past polls.

    Notices?