Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Perl: how to insert words at the end of each line and open the file?

by Laurent_R (Parson)
on Oct 31, 2013 at 18:20 UTC ( #1060618=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (@arr2 = <CF>){
    
    foreach $line (@arr2) {
    
  2. or download this
    my @arr2 = <CF>;
    foreach $line (@arr2) {
    # ...
    
  3. or download this
    while (my $line = <CF>) {
    # ...
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2014-09-17 21:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (100 votes), past polls