Help for this page

Select Code to Download


  1. or download this
    my %isis_adjacencies;
    
    for my $R2 (@array) {
        push @{$isis_adjacencies{$R2}}, $R2;
    }
    
  2. or download this
    $ perl -MData::Dump -e 'my %x; my @y = qw{a b c}; push @{$x{$_}}, $_ f
    +or @y; dd \%x'
    { a => ["a"], b => ["b"], c => ["c"] }