Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Re: Code factory

by dragonchild (Archbishop)
on Jul 07, 2003 at 20:13 UTC ( #272093=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Code factory
in thread Code factory

It's now a function. Treat it as such. my %vals = getUserByUserId('foo');

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.

Replies are listed 'Best First'.
Re: Re: Re: Re: Code factory
by sauoq (Abbot) on Jul 08, 2003 at 17:31 UTC
    my %vals = getUserByUserId('foo');

    It's a function, yes. But it returns a reference to a hash, not a list.

    -sauoq
    "My two cents aren't worth a dime.";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://272093]
help
Chatterbox?
[Discipulus]: April: the Perl Tk official month..

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2018-04-24 07:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?