in reply to Re^4: Data manipulation on a file
in thread Data manipulation on a file

Instead of printing it, append it to a variable:

my $output = ''; for ( ... ) { $output .= "$file:$@$filer_hash{$filer}},"; } print "Now have: $output\n";

Replies are listed 'Best First'.
Re^6: Data manipulation on a file
by sstruthe (Novice) on Oct 01, 2015 at 10:26 UTC

    Wow another great bit of help, maybe one day I will get to grips with perl. For just now I thank you once again it all works great now. ta