Hi,
I've got a .txt with 25 of numerically named lines (example). (Example):
1. First Name:
2. Last Name:
3. Age:
4. Company:
5. Quality of the service:
...
25. Would you recommend our services:
I'm trying to strip everything after the colon so I'm just left with the
answer. In case there is no
On Oct 11, Juan Manuel Casenave said:
1. First Name:
2. Last Name:
3. Age:
#!/usr/bin/perl
# strip_answers.pl
use strict;
use warnings;
# array to store the stripped results
my @information;
# open a filehandle to output.txt (where the results are stored) in read
mode
open (IN, '',
Juan Manuel Casenave wrote:
Hi,
I've got a .txt with 25 of numerically named lines (example).
(Example):
1. First Name:
2. Last Name:
3. Age:
4. Company:
5. Quality of the service:
...
25. Would you recommend our services:
I'm trying to strip everything after the colon so I'm