Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Re: Reference Example

by lachoy (Parson)
on May 20, 2002 at 16:11 UTC ( [id://167856]=note: print w/replies, xml ) Need Help??


in reply to Re: Reference Example
in thread Reference Example

Nitpicky time: one of the reasons for Perl's line-noise rep is lines like:

print "The value for the key \"mickey\" is ",${$fer}{'mickey'},"\n";
Using qq instead of the double-quotes and the arrow as the dereferencing operator, you'd get (IMO) a much cleaner:
print qq(The value for the key "mickey" is $fer->{mickey}\n);

Chris
M-x auto-bs-mode

Replies are listed 'Best First'.
Re: Re: Re: Reference Example
by Beatnik (Parson) on May 20, 2002 at 16:15 UTC
    Actually, the escaped double quotes were there in the root node. Since the question was about references, I didn't bother to edit THAT part :)

    Greetz
    Beatnik
    ... Quidquid perl dictum sit, altum viditur.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-25 07:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found