develooper Front page | perl.perl5.porters | Postings from August 2008

Re: [PATCH] Add open "|-" and open "-|" to perlopentut

Thread Previous | Thread Next
Brad Baxter
August 26, 2008 06:22
Re: [PATCH] Add open "|-" and open "-|" to perlopentut
Message ID:
On Mon, Aug 25, 2008 at 4:35 AM, Tom Christiansen <> wrote:

>    6.  %{$x{"java"}}

>    6. x is a hash, the value of whose "java" element hold a array ref.

"hash ref"?

FWIW, I appreciate the involved reasoning for using " over '.  Every time
I started using ' in an effort to follow recommendations expressed by some,
I just didn't like it.  So I stopped.  Your post helps me see why I never
liked it, and I feel less like a heretic.

I'll probably fall back into heretic status, though, if I mention that
do like doing this when necessary:

    $elem = qq'<a href="$link">$text</a>';

When I'm quoting a string, I'd rather use quotes than, say, qq{}.
One might argue that it's confusing, but I think the qq makes what I
mean very clear.  In practice, I glance at this and don't think twice.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About