Help for this page

Select Code to Download


  1. or download this
    use B;
    $aValue = 10;
    my $B = new B;
    my $something = $B->aSub;
    
  2. or download this
    package B;
    
    ...
        #here I want to access A.pl's $aValue whitout having it passed as 
    +parameter into the $B->aSub call...
    }
    1;