Jeff Pan wrote: >>>my (%hash,@array); >>>&sub_test(\%hash,[EMAIL PROTECTED]); >> >>& has special meaning so it should be dropped when not needing >>particular special behavior. > > > I can't understand for this,can u give me some examples?
perldoc perlsub -- &NAME(LIST); # Circumvent prototypes. &NAME; # Makes current @_ visible to called subroutine. Use "&" only when you want described side effects. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>