Re: [CDBI] Trouble with Perl's reverse function

Perrin Harkins <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.class-dbi
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.