RE: [Perl-unix-users] Executable files

2003-03-31 Thread Burak Gürsoy
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

RE: [Perl-unix-users] How do I Join two or more perl modules in one file?

2003-03-20 Thread Burak Gürsoy
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__;

RE: [Perl-unix-users] Hash of Hash Perl Questions.....

2003-02-26 Thread Burak Gürsoy
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-

RE: [Perl-unix-users] Using IP address for hostname in DBI connect

2003-01-23 Thread Burak Gürsoy
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]

RE: [Perl-unix-users] Duane Ebron/HNB/HBI/US is out of the office 12/18/02

2002-12-20 Thread Burak Gürsoy
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