Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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
Domain Nodelet?
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 scrutinizing the Monastery: (3)
As of 2023-03-22 02:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?