in reply to Im missing something small here? (dereferencing complex references)
should be$macro{$type} = { $var => $rval } if ( $class eq "macro" );
You can also get rid of the temp assignment into an array, by doing this for rval:$macro{$type}{$var} = $rval if ( $class eq "macro" );
my $rval = [ split(/,/,$rval) ];
|
|---|