babuyagu has asked for the wisdom of the Perl Monks concerning the following question:
Can anyone help? Many thanks in advance. Paul$linecounter = 1; $records = in{'records'}; OPEN FILE while ($linecounter <= $records) { $thiscost = in{'COST_$linecounter'} * 100; print FILE in{'REPORTID_$linecounter'}; # I know this doesn't work but + it is what I need print FILE $thiscost; $linecounter++; } CLOSE FILE
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Concatenating numeric variables...
by kennethk (Abbot) on Apr 29, 2009 at 22:59 UTC | |
|
Re: Concatenating numeric variables...
by jwkrahn (Abbot) on Apr 29, 2009 at 23:51 UTC | |
by babuyagu (Initiate) on Apr 30, 2009 at 07:19 UTC | |
|
Re: Concatenating numeric variables...
by hilitai (Monk) on Apr 29, 2009 at 23:06 UTC | |
|
Re: Concatenating numeric variables...
by Anonymous Monk on Apr 29, 2009 at 22:19 UTC | |
by babuyagu (Initiate) on Apr 29, 2009 at 22:34 UTC |