Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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?

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-16 01:08 GMT
Find Nodes?
    Voting Booth?

    No recent polls found