develooper Front page | perl.beginners | Postings from February 2002

Re: convert array to integer

Thread Previous | Thread Next
From:
John W. Krahn
Date:
February 22, 2002 20:27
Subject:
Re: convert array to integer
Message ID:
3C771A6C.A909187F@acm.org
Shaun Fryer wrote:
> 
> Try this little baby.

Why?

> @array = (5, 6, 7, 8);
> $integer = print(@array);
> chop($integer);


John
-- 
use Perl;
program
fulfillment

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About