in reply to Re ^2: how does splice do it?
in thread how does splice do it?

...and why?

Prototypes don't work for method calls. So, they are generally useless for an alternative to passing a reference.

Replies are listed 'Best First'.
Re: Re: Re ^2: how does splice do it?
by paulbort (Hermit) on Jan 10, 2003 at 19:21 UTC
    Please don't assume that everyone lives in an OO world. I came to Perl from a non-OO background, and rarely build my own classes. I'm just more comfortable with function calls, and have a big enough ego to assume that somewhere, someone else does the same thing. TIMTOWTDI.

    --
    Spring: Forces, Coiled Again!
      So do prototypes work with imported symbols, or calls to qualified names in other modules assuming the module has already been loaded?