News for hackers. Stuff that matters.
Re:Perl tutorials suck (and cause serious damage) by chromatic on Wednesday October 26, 2011 @02:02PM (#3159695)
... since you're only returning one element in that array, this should probably be "${$ref}[0]" which returns a scalar only.

It's perfectly fine to use the array sigil, in which case it's a one-element list instead of a scalar. That's useful sometimes.

There are no comments on this comment yet.