Rhesa Rozendaal wrote:
> Jeremy A wrote:
>
>
>>Hi all,
>>
>>I have an perl oop problem.
>>
>
>
> [snip]
>
>
>>package Machine;
>
>
> Insert this:
>
> use strict;
> use warnings;
>
>
>>sub new() {
>&
Jeremy A wrote:
Hi all,
I have an perl oop problem.
[snip]
package Machine;
Insert this:
use strict;
use warnings;
sub new() {
my $invocant = shift;
my $class = ref($invocant) || $invocant;
$self = {
Change that to
my $self = {
HOSTS => un
Hi all,
I have an perl oop problem.
I want to do alternating prints (switching).
eg.
192.168.1.101
192.168.1.108
192.168.1.101
192.168.1.108
my problem is it that,
it does not alternate.
eg
192.168.1.108
192.168.1.108
192.168.1.108
192.168.1.108
192.168.1.108
192.168.1.108
etc.
Your help
BUG var to 1
}
...
}
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Neil
Sent: Saturday, January 25, 2003 6:04 AM
To: [EMAIL PROTECTED]
Subject: Perl OOP
Hi,
I have put together a couple of modules and I am _getting_ comfortable with
Perl OOP. However, something today has
Hi,
I have put together a couple of modules and I
am _getting_ comfortable with Perl OOP. However, something today has put
me a bit sideways.
I will show code snippets to begin with and if its
not clear - I'll post the actual code.
I have one OO package that creates 'deb