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


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2014-07-12 09:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (239 votes), past polls