Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 a kettle whistles...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2017-04-26 00:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (466 votes). Check out past polls.