Leonid Grinberg wrote: > Hello all, Hello,
> I have a question about passing a hash to a fucntion. Suppose you had > the following script: > > > sub function > { > my %operating_systems = &populate_hash(%operating_systems); my %operating_systems = populate_hash(%operating_systems); > do_something_with_hash(); > } > > sub populate_hash > { > my %operating_systems = ?????; my %operating_systems = @_; > $operating_systems{"microsoft"} = "Windows"; > $operating_systems{"apple"} = "Macintosh"; > ... > return %operating_systems; > } John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>