Re: Not mapping into a hash

2014-02-13 Thread Paul Johnson
On Thu, Feb 13, 2014 at 06:04:40AM -0500, shawn wilson wrote: > I know I'm overlooking something real simple here but I just don't see it: > And the method ('HERE' marking the branch that is having issues): Are you sure? I think you might not be getting that far. > sub _list_set > { > my ($se

Re: Not mapping into a hash

2014-02-13 Thread shawn wilson
Ugh, genius I do think ref was correct - we just have variable naming in our style guide and I did a :'<,'>s/direction/hDirection/gc and messed that one up :( Thanks for the re - it got me where I want to be (knew it was something stupid). On Thu, Feb 13, 2014 at 6:27 AM, Paul Johnson wrote:

Not mapping into a hash

2014-02-13 Thread shawn wilson
I know I'm overlooking something real simple here but I just don't see it: The test: $ipt->_list_set({ 'name' => "test", 'direction' => [qw/src dst/], 'useipset' => 1, }), ['-m set --match-set test src,dst'], "Source and destination list", Output: # Failed test