RE: cpan module installation using Activestate perl package manager

2006-03-14 Thread Paul Ohashi
perl -MCPAN -e "install FILE::TAIL" -Original Message- From: Sonika Sachdeva [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 14, 2006 11:06 AM To: beginners@perl.org Subject: cpan module installation using Activestate perl package manager Hi, How do i install FILE::TAIL using activestat

RE: log output

2005-03-16 Thread Paul Ohashi
ge- From: Nishi Prafull [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 16, 2005 12:02 PM To: Paul Ohashi Cc: beginners@perl.org Subject: Re: log output I tried this system("$cmd1 | tee -a $logFile") ; but I get sh: syntax error at line 5: `|' unexpected where line 5 is the

RE: log output

2005-03-16 Thread Paul Ohashi
What if you piped your system command to tee, like: system("$cmd1 | tee -a outfile.log") ; -Original Message- From: Nishi Prafull [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 16, 2005 10:55 AM To: beginners@perl.org Subject: log output Hi: I am running a perl script as part of a cr

RE: UNIX vs. Windows help

2005-03-04 Thread Paul Ohashi
I figured it out with a google search (google always works). The results returned: http://www.robvanderwoude.com/index.html Paul -Original Message- From: Paul Ohashi [mailto:[EMAIL PROTECTED] Sent: Friday, March 04, 2005 1:40 PM To: Perl List (E-mail) Subject: UNIX vs. Windows help Hi

UNIX vs. Windows help

2005-03-04 Thread Paul Ohashi
Hi All, I moved my web server from UNIX to Windows and some things no longer work. I expected this to happen, but now I need some help. Here's what worked on UNIX: my @ftpUpList = `ftp ftp.somewhere.com

Upgrading from Perl 5.6 to Perl 5.8

2005-02-23 Thread Paul Ohashi
Hi all, I've upgraded to Perl 5.8 from 5.6 and I'm getting output I don't understand when I try to install the DBI module. I'm on Solaris 9 (Sparc) and I had Perl 5.0 and 5.6 installed as packages and I removed them with pkgrm. I then installed Perl 5.8 from ActiveState using ActivePerl-5.8.6.

Does the SWITCH statement have a default?

2005-01-20 Thread Paul Ohashi
Hi, Is there a correct way to define a default case within a SWITCH? I tried with the bottom case, but that errors with: Quantifier follows nothing before HERE mark in regex m/* << HERE / at ./ctest line 251. SWITCH: { $field =~ /^CR\d{0,7}$/ && do { $openCRs++; pr

use DBI; connection timeout

2005-01-11 Thread Paul Ohashi
I wrote a script to run a few select queries from a database using the DBI module. The script works, but occasionally times out and either the query results are truncated, or I get 'The page cannot be displayed'. Is there a timeout parameter somewhere that I could increase in Apache, or Perl? I d

Missing output on browser

2004-12-20 Thread Paul Ohashi
Hi All, I'm trying to execute a select query from a Perl script and display the results in IE. The script works fine from the command line, it displays the results of the query. However, when it runs from IE it only displays the word 'Start:'. Any ideas? Thanks in advance. -Paul Here's the scrip

Printing ?

2004-12-09 Thread Paul Ohashi
Hi All, Is there a way to 'print' to STDOUT and a with one line? Something like:echo "Some text" | tee - a somefile.out -Paul

RE: Trouble with compound regular expression matching

2004-12-06 Thread Paul Ohashi
--- From: Felix Li [mailto:[EMAIL PROTECTED] Sent: Monday, December 06, 2004 4:38 PM To: Paul Ohashi Subject: Re: Trouble with compound regular expression matching print "No!" if "i.tied.my.shoes" =~/^.*\.[tj][pi][gfe].*$/i; ----- Original Message - From: "Paul

FW: Trouble with compound regular expression matching

2004-12-06 Thread Paul Ohashi
Hmmm.. I'm new to this list and I just replied to the message and it seems to have gone directly to Jeffrey, sorry 'bout that... I did need to add the case-insensitivity to the regex: /^.*\.[tj][pi][gfe].*$/i That's better, I think. -Paul -Original Message----- Fr

RE: UNIX Admin and Shell Perl resources

2002-12-13 Thread Paul Ohashi
Hi Jerry, I subscribe to a few "Nothing but UNIX" groups. The site below should accommodate all of your needs. http://unix.ittoolbox.com/ Best regards, > Paul Ohashi > Technical Specialist > Quest Software, Inc. > (949) 754-8000 > www.quest.com/support > ---