Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: whats wrong? it gives me many error

by LanX (Sage)
on Sep 16, 2014 at 16:15 UTC ( #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? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2022-05-17 17:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (68 votes). Check out past polls.

    Notices?