in reply to nested foreach loop not working
It's not clear what part of $responsetextall[$i][$j]{attributeStatements} $VAR1 corresponds to. Can you clarify?
#!/usr/bin/perl use warnings; use strict; my $arr = [ { namespace => 'urn:oasis:names:tc:SAML:2.0:attrname-forma +t:unspecified', name => 'First Name', values => '[user.firstName]', type => 'EXPRESSION' }, { namespace => 'urn:oasis:names:tc:SAML:2.0:attrname-forma +t:unspecified', name => 'Last Name', values => '[user.lastName]', type => 'EXPRESSION' } ]; for my $hash (@$arr) { print "$hash->{type}\t"; print "$hash->{values}\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: nested foreach loop not working
by Annie17 (Initiate) on Dec 21, 2021 at 12:26 UTC | |
by choroba (Cardinal) on Dec 21, 2021 at 12:31 UTC |