[ale] Perl Question

Calvin Harrigan charriglists at joimail.com
Thu Aug 28 19:31:08 EDT 2003


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





More information about the Ale mailing list