Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: execute a string as a function

by marinersk (Curate)
on Aug 06, 2013 at 21:29 UTC ( #1048189=note: print w/ replies, xml ) Need Help??


in reply to Re: execute a string as a function
in thread execute a string as a function

I'll bite.

What side-effects?


Comment on Re^2: execute a string as a function
Replies are listed 'Best First'.
Re^3: execute a string as a function
by Anonymous Monk on Aug 07, 2013 at 08:06 UTC
    perlsub
      &NAME(LIST);   # Circumvent prototypes.
      &NAME;         # Makes current @_ visible to called subroutine.
    
    
      cute, where are the sideffects?
      &unpack_c( $lines[$_] ) ; VERSUS unpack_c( $lines[$_] ) ;
        As the documentation said, it circumvents prototypes (if any). But the more cromulent reason is that it's the Perl4-style function call syntax which hasn't been needed for almost two decades. (And I think we all can agree on that we want to move past Perl 4.)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2015-08-03 04:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (23 votes), past polls