Re: Usage of ref for testing if a passed in reference is a HASH, etc

[prev] [thread] [next] [Date index for 2004/11/13]

From: Yuval Yaari
Subject: Re: Usage of ref for testing if a passed in reference is a HASH, etc
Date: 14:11 on 13 Nov 2004
Yuval Kogman said:
> Personally I prefer Scalar::Util's reftype, just because it's easier to
> figure out what the programmer was testing for without actually reading
> into the line of code.

I think Scalar::Utils was only introduced in Perl 5.8.1.
Class::DBI tries to stay BC to 5.6.1 (I think).

  --Yuval


Re: Usage of ref for testing if a passed in reference is a HASH, etc
Yuval Yaari 14:11 on 13 Nov 2004

Generated at 17:31 on 15 Feb 2005 by mariachi v0.52