CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Regular Expressions: Re: [gregaiken] eval { $dynamic_pattern_match }; doesnt work with activeperl...: Edit Log



meloyelo
User

Jun 9, 2008, 5:26 AM


Views: 4665
Re: [gregaiken] eval { $dynamic_pattern_match }; doesnt work with activeperl...

You want:

Code
eval $block;

What you have, eval { $block }, simply returns the value held in the variable $block.


(This post was edited by meloyelo on Jun 9, 2008, 5:27 AM)


Edit Log:
Post edited by meloyelo (User) on Jun 9, 2008, 5:27 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives