Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Functions Signatures

by nofernandes (Beadle)
on Jul 17, 2003 at 13:33 UTC ( #275210=note: print w/replies, xml ) Need Help??


in reply to Re: Functions Signatures
in thread Functions Signatures

.. I made a mistake.. not arguments of a file!! Arguments of the function!!

Sorry.. i was distracted!!

Nuno

Replies are listed 'Best First'.
Re: Functions Signatures
by Abigail-II (Bishop) on Jul 17, 2003 at 14:26 UTC
    Unless you are using prototypes, user defined functions take lists as arguments. Lists have no names. If you are looking into somehow from the source deduce that it should report sub Hello($text), then forget it. The sub, as defined, takes a list as argument.

    If you want a static language like Java, instead of a dynamic one like Perl, go code in Java. But Perl isn't Java.

    Abigail

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2021-12-01 18:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (13 votes). Check out past polls.

    Notices?