Try the PAR module... it comes with the "pp" utility.
pp -o hello hello.pl
The Author calls it "perlcc that works" :)
ignore perlcc... its an incomplete toy...
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf
> Of [EMAIL PROTECTED]
> Sent: Friday, Mar
Your script can be like this:
#!/usr/bin/perl -w
use strict;
#we're in the main package...
my $obj = My::Class->new("blah");
My::SecondClass::foo(@bar);
# here are the classes' codes...
package My::Class;
sub new {
#...
}
# blah...
package My::SecondClass;
sub foo {
# blah
}
__END__;
You must use arrayref to make a key value an array:
ssh => [eth0,...]
you can make the keys hash ref also:
%HoH = (
machine-name => { ssh => {eth0 => ,eth1 => ,eth0 =>,eth0 =>}, },
);
and use exists. Or write a compare sub, for every key of the arrayref...
> -Original Message-
you can specify a hostname like: mysql.x.com, if the sql server is not in
the localhost, so it can be... did you try it?
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf
> Of Ken Hilliard
> Sent: Thursday, January 23, 2003 9:00 AM
> To: [EMAIL PROTECTED]
does this list have a filter for this kind of messages??? if yes, please
enable it!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: 20 Aralýk 2002 Cuma 08:00
To: [EMAIL PROTECTED]
Subject: [Perl-unix-users] Duane Ebron/HNB/HBI/US is