Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Update: Re: Spurious re 'eval'; warning ?

by bsb (Priest)
on Aug 28, 2003 at 01:47 UTC ( #287217=note: print w/replies, xml ) Need Help??


in reply to Re: Spurious re 'eval'; warning ?
in thread Spurious re 'eval'; warning ?

Date: 27 Aug 2003 12:47:56 -0000 From: Rafael Garcia-Suarez (via RT) Subject: Re: [perl #23569] use re 'eval'; lost in (??{"(?{1})"}) Brad Bowman (via RT) wrote: > This code generates an "Eval-group ..." error despite the presense > of "use re qw(eval)". > > $ perl -Mre=eval -e '/ (??{ "(?{1})" }) $_ /x' > Eval-group not allowed at runtime, use re 'eval' in regex m/(?{1})/ +at -e line 1. This is apparently just another instance of the compiler hints not bei +ng propagated to eval-strings (except "integer", "strict refs" and a few others). This can't be fixed non-kludgily without an overhaul of the h +int system.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2019-10-18 09:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?