Re: trouble derefencing

2011-10-08 Thread Shawn H Corey
On 11-10-08 02:37 PM, Natxo Asenjo wrote: hi, I need to add a cli option to my script to push multiple values in a hash. I have verified that using Getopt::Long this is possible, but cannot get my head around dereferencing it. This is a sample code:

Re: trouble derefencing

2011-10-08 Thread John SJ Anderson
On Sat, Oct 8, 2011 at 14:37, Natxo Asenjo wrote: > hi, > > I need to add a cli option to my script to push multiple values in a > hash. I have verified that using Getopt::Long this is possible, but > cannot get my head around dereferencing it. [ snip ] > when I run this I get: > ./kk.pl -e test=1

trouble derefencing

2011-10-08 Thread Natxo Asenjo
hi, I need to add a cli option to my script to push multiple values in a hash. I have verified that using Getopt::Long this is possible, but cannot get my head around dereferencing it. This is a sample code: == use strict; use warnings;