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

Re: Open() : Not reading all lines in my text file

by perlfan (Curate)
on Jun 23, 2016 at 18:34 UTC ( #1166399=note: print w/replies, xml ) Need Help??


in reply to Open() : Not reading all lines in my text file

You're only opening the file handle.
open my $fp, "<", $titlefile or die "Can't open <$titlefile: $!"; my @lines = <$fp>; # now iterate over @lines

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1166399]
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 2018-09-24 23:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Eventually, "covfefe" will come to mean:













    Results (195 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!