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

Perl 5.17 change to use re 'eval' breaks Acme::EyeDrops

by eyepopslikeamosquito (Chancellor)
on Apr 25, 2013 at 03:31 UTC ( #1030569=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
                                     (
                         (       (
    ...
                       ')').('`'|',').('`'|('$')).
                      '\\'.'\\'.('`'|'.').'\\'.'"'
                      .';'.('!'^'+').'"'.'}'.')');
    
  2. or download this
    Eval-group not allowed at runtime, use re 'eval' in regex m/(?{eval"pr
    +int\"hello world\\n\";
    "})/ at v1.pl line 25.
    
  3. or download this
    perl -MO=Deparse v1.pl
    
  4. or download this
    '' =~ /(?{eval"print \"hello world\\n\";\n"})/;
    v1.pl syntax OK
    
  5. or download this
    use re 'eval';
    
  6. or download this
    use if $] >= 5.017, re => 'eval';
    
  7. or download this
    use if $^V && $^V gt 5.17.0, re => 'eval';
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1030569]
Approved by NetWallah
Front-paged by NetWallah
help
Chatterbox?
[Cosmic37]: I'm wondering whether there is a specific/(or at least "usual") command or does one take a copy before undefining and then copy it back after slurping file into a string?
[BarApp]: I need help accessing perl files. I need permission!!!
[Cosmic37]: I wish thee a peachy life and express gratitude for considering my pathetic questions
[erix]: record separator
[Cosmic37]: Permissions are interesting earthlings. Did nature determine who gives permission and who asks permission. Who was the first to get permission? Are you not related to them as one big earthling family?

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2017-06-29 16:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (672 votes). Check out past polls.