Patrick Dupre wrote:
On Fri, 4 Sep 2009, Noah Garrett Wallach wrote:
Hi there,
I am having some trouble understanding hash of hashes here. I want
to find all the keys for %policy{'policy_statement'}
for my $line (@lines) {
for my $key ( keys %policy{'policy_statement'} ) {
Ch
On Fri, 4 Sep 2009, Noah Garrett Wallach wrote:
Hi there,
I am having some trouble understanding hash of hashes here. I want to find
all the keys for %policy{'policy_statement'}
for my $line (@lines) {
for my $key ( keys %policy{'policy_statement'} ) {
Check if $keys is correc
At 11:02 AM -0700 9/4/09, Noah Garrett Wallach wrote:
Hi there,
I am having some trouble understanding hash of hashes here. I want
to find all the keys for %policy{'policy_statement'}
for my $line (@lines) {
for my $key ( keys %policy{'policy_statement'} ) {
%policy is a hash
Hi there,
I am having some trouble understanding hash of hashes here. I want to
find all the keys for %policy{'policy_statement'}
for my $line (@lines) {
for my $key ( keys %policy{'policy_statement'} ) {
if ($line =~
/set\sprotocols\sbgp\sgroup\s(\S+)\s(import|exp