Re: how to accept array elments using loop
- From: krahnj@xxxxxxxxx (John W. Krahn)
- Date: Fri, 28 Dec 2007 10:29:38 -0800
lumadhu@xxxxxxxxx wrote:
Hi all,
Hello,
I am new user of this group. can you tell how can i accept
array elements using loop. for example
for($i=0;$i<5;$i++)
{
$a[$i]=<stdin>;
}
my @a = map scalar <STDIN>, 1 .. 5;
John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order. -- Larry Wall
.
- References:
- how to accept array elments using loop
- From: lumadhu
- how to accept array elments using loop
- Prev by Date: Re: Problem with adding a connection with Win32::NetResource
- Next by Date: Re: how to accept array elments using loop
- Previous by thread: Re: how to accept array elments using loop
- Next by thread: Re: how to accept array elments using loop
- Index(es):
Relevant Pages
|