You want something like this:
open FILE, '>', 'some_file' or die "Cannot open 'some_file' $!"; for my $line_counter ( 1 .. $in{ records } ) { print FILE $in{ "REPORTID_$line_counter" }, $in{ "COST_$line_count +er" } * 100; } close FILE;
In reply to Re: Concatenating numeric variables...
by jwkrahn
in thread Concatenating numeric variables...
by babuyagu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |