in reply to Concatenating numeric variables...

use strict; use warnings; my %in; print in{'records'}; Unquoted string "in" may clash with future reserved word at - line 4. __END__ Name "main::in" used only once: possible typo at - line 4. Odd number of elements in anonymous hash at - line 4. print() on unopened filehandle in at - line 4.
You want $in{records} and $in{"REPORTID_$linecounter"} ... perlintro

Replies are listed 'Best First'.
Re^2: Concatenating numeric variables...
by babuyagu (Initiate) on Apr 29, 2009 at 22:34 UTC
    Had a play around with this and couldn't make sense of it in relation to what I am looking to achieve - my bad and limited experience.