Re: Problem with Arrays

2008-06-23 Thread luke devon
Thank you Mimi, now my perl code is working. It was a great help . I was lost in perl. Thanks again. - Original Message From: Mimi Cafe <[EMAIL PROTECTED]> To: beginners@perl.org Sent: Monday, June 23, 2008 18:19:45 Subject: Problem with Arrays Perl is warning you that your variables

Re: Problem with Arrays

2008-06-23 Thread Gunnar Hjalmarsson
luke devon wrote: I tried to capture some data in STDIN and wanted compare with a Queried data form a database. When i run the script , there is some errors. Scalar value @array[2] better written as $array[2] at hell.pl line 22. Global symbol "@array" requires explicit package name at h

Re: Problem with Arrays

2008-06-23 Thread Brad Baxter
On Jun 23, 8:36 am, [EMAIL PROTECTED] (Luke Devon) wrote: > Scalar value @array[2] better written as $array[2] at hell.pl line 22. > Scalar value @array[1] better written as $array[1] at hell.pl line 31. ... > Possible unintended interpolation of @array in string at hell.pl line 38. ... > Global sy