Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by leons (Pilgrim)
on Jan 18, 2001 at 14:30 UTC ( #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}); # !!!


Comment on Re: TIMTOWTDI -- so long as it's not my way
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2014-09-02 07:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (20 votes), past polls