[Kc] subroutine parameter list

Eric Wilhelm scratchcomputing at gmail.com
Wed Apr 9 16:38:30 PDT 2008


# from James Carman
# on Wednesday 09 April 2008 10:14:

>Is it possible to do something like:
> &param_test("somestring", "another_string" $arrayref);

Ironically, prefixing the call with '&' bypasses what little prototyping 
support Perl has.

I'm curious, where did you get the habit of writing your calls that way?  
In general, where does anybody get that habit?  If it is a book, please 
do us all a favor and take that book to your local recycling center at 
your earliest convenience.  :-D

--Eric
-- 
The reasonable man adapts himself to the world; the unreasonable man
persists in trying to adapt the world to himself. Therefore all progress
depends on the unreasonable man.
--George Bernard Shaw
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------


More information about the kc mailing list