Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Functions Signatures

by Abigail-II (Bishop)
on Jul 17, 2003 at 12:24 UTC ( [id://275194]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Functions Signatures
in thread Functions Signatures

Arguments of the file? What do you mean by that?

Abigail

Replies are listed 'Best First'.
Re: Re: Functions Signatures
by nofernandes (Beadle) on Jul 17, 2003 at 13:33 UTC

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

    Sorry.. i was distracted!!

    Nuno
      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://275194]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (8)
As of 2024-04-20 00:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found