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

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);

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

Comment on Re^2: Using open in for loop
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2015-11-28 01:05 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (736 votes), past polls