Need? I don't know... But I have a few shell scripts I hacked together for my own
personal use ( non-production).
Some things easier in shell script (Not that I want to start a debate).
It's personal preference
-Original Message-
From: Booher Timothy B 1stLt AFRL/MNAC
[mailto:[EMAIL PR
Be nice to those who choose not to receive html mail:
open (MAIL, "|/usr/sbin/sendmail -t -oi") || die "Can't fork for
sendmail:$!\n";
print MAIL <
HTML mail here
--_=_NextPart--
EOF
close(MAIL) || warn "sendmail didn't close nicely\n";
-Original Message-
From:
ok... I'm writing a perl program that will use scp to copy a file from
one machine to another securely.
The problem is that scp asks for the users password... how can I have
perl answer scp's request for a password...
by hand it looks like so;
$$scp -C test [EMAIL PROTECTED]:test
[EMA
Oracle is
How many inserts/second are you taking about?
-Original Message-
From: Curtis Poe [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 10, 2001 3:52 PM
To: Etienne Marcotte
Cc: [EMAIL PROTECTED]
Subject: Re: mysqlpostgres
--- Etienne Marcotte <[EMAIL PROTECTED]> wr
Princeton Jct., New Jersey
-Original Message-
From: dan radom [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 09, 2001 11:08 AM
To: [EMAIL PROTECTED]
Subject: Re: Off-Topic (200%) - Where are you from?
boulder, colorado
* Etienne Marcotte ([EMAIL PROTECTED]) wrote:
> By reading the m
OK I know Perl is the language that lets you do things several different
ways. So with that having been said, how can I convert the while
statement into a subroutine and pas the filehandles to it ?
#!/usr/bin/perl -w
$tiernum = shift or die "usage: tier2 [3,6,8] [1,2] directory-name id
$!\n";
$st
How do I pass and use arguments into the command line?
such as;
> myprogram var1 var2
where the program would read as follows
#!/usr/bin/perl -w
$firstvar = shift(@args);
$secondvar = shift(@args);
print STDOUT "$firstvar";