Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners > Compile error
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 11033 of 11065
Post > Topic >>

Compile error

by digolinopage@[EMAIL PROTECTED] (Rodrigo Tavares) May 6, 2008 at 07:43 AM

Hello,

I create a hash, and i want take the keys.
Using Deitel Book, i take this example:

numbers =3D=20
         (
           1  =3D> 'one', =20
           3  =3D> 'two',
           5  =3D> 'three',  =20
           7  =3D> 'four', =20
           9  =3D> 'five',=20
         );
 @[EMAIL PROTECTED]
 =3D keys (%numbers);

When I try to run come this message.
Undefined subroutine &main::chaves called at line

What's wrong ?

By,

Faria=0A=0A=0A      Abra sua conta no Yahoo! Mail, o =FAnico sem limite de
=
espa=E7o para armazenamento!=0Ahttp://br.mail.yahoo.com/




 3 Posts in Topic:
Compile error
digolinopage@[EMAIL PROTE  2008-05-06 07:43:01 
Re: Compile error
yitzle@[EMAIL PROTECTED]   2008-05-06 10:46:01 
Re: Compile error
sigzero@[EMAIL PROTECTED]  2008-05-06 11:33:27 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 14:58:57 CDT 2008.