darrel3edndcom has asked for the wisdom of the Perl Monks concerning the following question:
package Monk; sub new { my ($name, $password, $realname) = @_; my %monk = ( "name" => $name, "password" => $password, "realname" => $realname, "level" => 0 ); return \%monk; } sub promote { my $r_monk = shift; $r_monk->{level}++; }
Title edit by tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Composition
by hagus (Monk) on May 24, 2002 at 01:00 UTC | |
by darrel3edndcom (Novice) on May 24, 2002 at 01:47 UTC | |
by hagus (Monk) on May 24, 2002 at 01:58 UTC | |
|
Re: Composition
by perrin (Chancellor) on May 24, 2002 at 02:03 UTC | |
|
Re: Composition Examples Sought
by derby (Abbot) on May 24, 2002 at 12:24 UTC | |
by meatpopsicl3 (Initiate) on May 24, 2002 at 17:23 UTC | |
by darrel3edndcom (Novice) on Jun 08, 2002 at 01:46 UTC | |
|
Re: Composition Examples Sought
by clemburg (Curate) on May 24, 2002 at 11:11 UTC |