Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re^N+1: Function Prototypes and Array vs. List (Pt. 2)

by danger (Priest)
on Jun 14, 2002 at 07:43 UTC ( #174431=note: print w/ replies, xml ) Need Help??


in reply to Re^N+1: Function Prototypes and Array vs. List (Pt. 2)
in thread Function Prototypes and Array vs. List (Pt. 2)

if one can't deprototype the target function...

If all you want to do is disable the prototype, then calling the function with & will do it --- beware that @_ is passed implicitly if you leave off the parens, and you'll have to adjust your argument passing for more complex prototypes (such as: (&@) or (\@)) to ensure the function gets what it is expecting.


Comment on Re: Re^N+1: Function Prototypes and Array vs. List (Pt. 2)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2014-12-27 03:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls