Lhamo_rin has asked for the wisdom of the Perl Monks concerning the following question:
Shouldn't that return @base to @net?@net = mask($a,$b); sub mask { <<code>> return @base; }
Retitled by Steve_p from 'subroutines'.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Returning arrays from subroutines
by revdiablo (Prior) on Jun 16, 2005 at 22:37 UTC | |
by Lhamo_rin (Friar) on Jun 17, 2005 at 10:11 UTC | |
by revdiablo (Prior) on Jun 17, 2005 at 16:47 UTC | |
|
Re: Returning arrays from subroutines
by djohnston (Monk) on Jun 16, 2005 at 23:03 UTC | |
by cbrandtbuffalo (Deacon) on Jun 17, 2005 at 00:54 UTC | |
|
Re: Returning arrays from subroutines
by moot (Chaplain) on Jun 16, 2005 at 23:16 UTC | |
by aukjan (Friar) on Jun 17, 2005 at 06:59 UTC | |
|
Re: Returning arrays from subroutines
by jZed (Prior) on Jun 16, 2005 at 22:37 UTC |