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.

<snip>

Scalar value @array[2] better written as $array[2] at hell.pl line
22.

<snip>

Global symbol "@array" requires explicit package name at hell.pl line
9.

<snip>

Could you please help me to solve this problem ,

You should read up on variable declarations and scoping.

    http://perl.plover.com/FAQs/Namespaces.html

You should also study the FAQ entry

    perldoc -q @array

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to