Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re[7]: How's your Perl?

by xmath (Hermit)
on Oct 27, 2003 at 10:06 UTC ( #302365=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re[3]: How's your Perl?
in thread How's your Perl?

I agree that it was not what was expected but it does fulfill the criteria as stated.

No, as juerd pointed out, you're not changing $x[0] nor $x[1]: they both remain equal to \$_. All you show is that if you change ${$x[0]} then ${$x[1]} changes, which wasn't the exercise.

Note that I have no problem with unexpected solutions — I love the $[ one.. didn't think of that — but they do need to be valid.   :-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2023-12-01 02:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?