Mailinglist Archive: opensuse (2532 mails)

< Previous Next >
Re: [opensuse] Quick perl question - why are @array[$num] and $array[$num] the same?
  • From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
  • Date: Thu, 01 May 2008 09:46:51 -0500
  • Message-id: <4819D7DB.9010004@xxxxxxxxxxxxxxxxxx>
Sandy Drobic wrote:
David C. Rankin wrote:
Listmates:


This is what you probably want:

foreach my $array_element ( @array) {
print $array_element;


Thanks Sandy! Again..

P.S. - Is there any thing you don't know Sandy?

--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups