|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
I want to loop through file. (I have that covered)
I want to add two ~~ at the end of each line. Can anyone assist?? Here is what I have so far : #!/usr/bin/perl5 open (TRANSFER, "+<Page_1x.html"); @file = <TRANSFER>; seek TRANSFER,0,0; foreach $line(@file) { $line =~ ??????????????; #this is the line I need help on print TRANSFER $line; } close TRANSFER; exit; Thank you |
|
#2
|
|||
|
|||
|
never mind
I got it, thanks anyways
|
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > please assist |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|