Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Using open in for loop

by grep (Monsignor)
on Jun 14, 2007 at 15:16 UTC ( #621265=note: print w/replies, xml ) Need Help??


in reply to Re: Using open in for loop
in thread Using open in for loop

The answers you are looking for are in my previous post

  • Add use strict; and use warnings; - Make your code work with them.
  • Simplify and print out
    print "$array[$i]\n"; #open(FILE,"$array[$i]") or die "Could not open file :$!"; # do something #close(FILE);

grep
1)Gain XP 2)??? 3)Profit

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://621265]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2017-02-27 07:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (376 votes). Check out past polls.