in reply to retriving array value from hash refernce
Maybe that value you store into $event_method has still a "\n" value at the end (for example if you read it from a file and didn't use chomp) or some other invisible character in it.
The best way to find out things like that is to use Data::Dumper, i.e.:
use Data::Dumper; $Data::Dumper::Useqq=1; #invisible characters are shown print Dumper($event_method);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: retriving array value from hash refernce
by Anonymous Monk on Jun 30, 2010 at 11:55 UTC | |
by jethro (Monsignor) on Jun 30, 2010 at 11:59 UTC |