Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: TIMTOWTDI -- so long as it's not my way

by leons (Pilgrim)
on Jan 18, 2001 at 14:30 UTC ( [id://52738]=note: print w/replies, xml ) Need Help??


in reply to TIMTOWTDI -- so long as it's not my way

Okay .... I have just been staring at the following for over an hour ...
Being totally amazed by the fact that it returned an Odd number of elements
in hash assignment
Okay ... stuff like that happens ... stuff like that happens
a lot ;-) but the frustrating part is that, I made the same mistake a week ago as
well and then it took me the whole morning .. hmmm ... I think I'm going to have
another cup of coffee ;-)

sub MySub { my (%Information,@Errors); # blah blah push @Errors,"an Error occured\n" if $whatever; return(\%Information,\@Errors); } my ($InformationRef,$ErrorsRef)=MySub; my (%Information,@Errors)=(%{$InformationRef},@{$ErrorsRef}); # !!!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-25 18:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found