Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: whats wrong? it gives me many error

by LanX (Saint)
on Sep 16, 2014 at 16:15 UTC ( [id://1100791]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    for $i (0..10) {
        print $i;
    }
    
  2. or download this
    Global symbol "$i" requires explicit package name at /tmp/tst2.pl line
    + 6.
    Global symbol "$i" requires explicit package name at /tmp/tst2.pl line
    + 7.
    ...
    Global symbol "$i" requires explicit package name at /tmp/tst2.pl line
    + 7.
    Execution of /tmp/tst2.pl aborted due to compilation errors.
     at /tmp/tst2.pl line 10
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1100791]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-24 19:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found