[CDBI] Trouble with Perl's reverse function

Perrin Harkins perrin at elem.com
Tue Nov 14 22:42:13 GMT 2006


On Tue, 2006-11-14 at 12:47 -0800, Carlos Vicente wrote:
>     my @words = reverse split /\./, $name;

A precedence error?
my @words = reverse( split /\./, $name );

Or maybe something squirrely in this:

> 	if ( my $zone = ($class->search( mname => $domain ))[0] ){

if ( my $zone = $class->search(mname => $domain)->first ) {

- Perrin




More information about the ClassDBI mailing list