Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^7: foreach type of deal?

by huck (Prior)
on Mar 15, 2017 at 21:50 UTC ( [id://1184780]=note: print w/replies, xml ) Need Help??


in reply to Re^6: foreach type of deal?
in thread foreach type of deal?

ug... will "too early in the morning" work at 4pm?

while( my $line = <$in> ) { $line = substr($line,1); print $out $line; }

Replies are listed 'Best First'.
Re^8: foreach type of deal?
by hoagies (Initiate) on Mar 15, 2017 at 22:26 UTC

    I got it!!! The error was coming from:

    close $in

    close $out

    They were outside of the block! :D. Now the whole thing works flawlessly. Thanks again for everything!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-24 22:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found