RE: Calling perl from perl

2002-06-20 Thread Brent Dax
Sengupta, Rajib: # I want to execute a Perl script say xyz.pl from my own script # which is abc.pl # # the xyz.pl will take three arguements ar xyz.pl arg1 arg 2 # arg3 . All these three arguements had been catched inside # xyz.pl as ARGV[]. the xyz.pl will return one value which will # be us

RE: File Stats overflow ?

2002-06-20 Thread Brent Dax
Bernard Tremblay: # Sorry for the dumb question, I'm new to Perl. I # receive negative values # from a file(stats). The numbers are over 2.2G is there # another package or a # way to set the integer value of the file size to a bigger integer ? # # NB: I'm on windows NT 4 with active

RE: Fake Databases?

2002-06-20 Thread Brent Dax
Gerry Hickman: # Does anyone know if it's possible to achieve basic flat-file # database functionality in Perl without a "real" database? # # The Raq-4 server I work on has PERL 5, but the guy won't # install MySQL and doesn't want to enable Interbase. # # I currently have a text file with a p

File Stats overflow ?

2002-06-20 Thread Bernard Tremblay
Hi, Sorry for the dumb question, I'm new to Perl. I receive negative values from a file(stats). The numbers are over 2.2G is there another package or a way to set the integer value of the file size to a bigger integer ? NB: I'm on windows NT 4 with active state perl current release.

RE: Perl drawbacks

2002-06-20 Thread Steve Aaron
I agree with Mike. I put together a J2EE system on Oracle IAS9i last year and the java class port of perl regex was the most useful set of classes in the whole project. Steve Aaron -Original Message- From: Arms, Mike [mailto:[EMAIL PROTECTED]] Sent: 17 June 2002 23:10 To: 'Shea, Linchi';

Re: Re: Send email in ActivePerl using SMTP

2002-06-20 Thread Mark Bergeron
Try this. It's always worked for me in the past: print "Content-type: text/plain", "\n\n"; my $DEBUG = 0; if($DEBUG){ $| = 1; open(STDERR, ">&STDOUT"); } my $ServerName = "000.000.000.000"; # Create a new SMTP object my $smtp = Net::SMTP->new($ServerName, Debug => 1);

Re: Send email in ActivePerl using SMTP

2002-06-20 Thread Carl Jolley
On Thu, 6 Jun 2002 [EMAIL PROTECTED] wrote: > I tried the following to use SMTP to send email: > > >use Net::SMTP; >$optServer = 'luxn.com'; >$optFrom = "[EMAIL PROTECTED]"; >$optTo = "[EMAIL PROTECTED]"; >$smtp = Net::SMTP -> new ("luxn.com"); >$smtp -> mail($optFrom); >

Re: Fake Databases?

2002-06-20 Thread jjore
Frequently - you'll have to try and see for yourself. If that doesn't work then you can always use the dbmopen/etc functions. That style db doesn't scale as nicely (I hear) but still works in a pinch. Josh Gerry Hickman <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 06/20/2002 05:35 PM    

Re: Problem with PPM3 after install ActivePerl 632

2002-06-20 Thread Troy Topnik
Christian, Sorry nobody from ActiveState responded to this earlier. ppm3 is broken in ActivePerl 5.6.1.632 - you should use PPM or install ActivePerl 5.6.1.633 which was released today and contains a fixed ppm3. http://downloads.activestate.com/ActivePerl/Windows/5.6/ActivePerl-5.6.1.633-MSWi

Re: Fake Databases?

2002-06-20 Thread Jenda Krynicky
From: Gerry Hickman <[EMAIL PROTECTED]> > > You might like DBD::SQLite > > Thanks, is it "built in" to standard Perl 5 - I don't have any control > over the server. I'll assume a questionmark after the "Perl 5" ;-) No. It's not part of the core instalation. It might be part of DBI bundle insta