Re: basic class problem

2005-04-25 Thread John Doe
Hi Graeme [rearranged from bottom:] > All I want to do is print off the value of the hash refs at the moment > before I start building on it. Due to my bad english I'm not quite shure what you mean by that. You want to print the values to be sure they are right, before using them? > I know I'm

RE: basic class problem

2005-04-24 Thread Charles K. Clarkson
[EMAIL PROTECTED] wrote: : A better constructor might be (assuming you're going to represent : your object as a hash-reference, which is the most popular, but : not only way to do it. (read and reread perltoot until you : understand all of it). : : sub new { : my

Re: basic class problem

2005-04-24 Thread Lawrence Statton
> Hi all I'm trying to write a basic class that will contain some > configuration details, unfortunately it bombs out and doesn't do anything. > > ### start of class ### > #configuration.pm > package configuration; > use strict; > > > sub new{ > my $c

RE : basic class problem

2005-04-24 Thread Jose Nyimi
> -Message d'origine- > De : Graeme McLaren [mailto:[EMAIL PROTECTED] > Envoyé : dimanche 24 avril 2005 19:01 > À : beginners@perl.org > Objet : basic class problem > > > Hi all I'm trying to write a basic class that will contain some > configur

basic class problem

2005-04-24 Thread Graeme McLaren
Hi all I'm trying to write a basic class that will contain some configuration details, unfortunately it bombs out and doesn't do anything. ### start of class ### #configuration.pm package configuration; use strict; sub new{ my $class=shift; my $self=s