[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Perl Question
- Subject: [ale] Perl Question
- From: charriglists at joimail.com (Calvin Harrigan)
- Date: 28 Aug 2003 19:31:08 -0400
On Sun, 2003-08-24 at 22:25, Fletch wrote:
> Check perldoc -f split. split() in scalar context returns the number
> of fields found and puts the split items into @_ (where arguments to
> subroutines normally go). If you really need the number of fields, do
> something like:
>
> my @fields = split( $backend_seperator, backendCommand( $query ) );
> my $recs = @fields;
Thanks! I did eventually find the typo $->@
Calvin...
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale