Help for this page

Select Code to Download


  1. or download this
    sub main
    {
    ...
       my ($id2_ref) = @_;
       print "inside doSub2, id2=$$id2_ref\n";
    }
    
  2. or download this
    my $id2_value = $$hash_ref{'id2'};
    &doSub2{\$id2_value);
    $$hash_ref{'id2'} = $id2_value;