Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2018-07-16 05:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (332 votes). Check out past polls.

    Notices?