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.