change and I
would like to find a way for my program to automagiclly deal with it.
If Pcalc can do this then I haven't been able to figure it out.
thanks
-Original Message-
From: Harter, Douglas [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 11:58 AM
To: Steve Main; [EMAIL PROT
Hello list,
I am having a problem coming up with a solution to compare and find the
difference between two dates.
One of the dates is a GMT date while the other is PST(or PDT) so my
first
Problem is converting the local date to GMT which is fine unless I want
to automagically "detect" the hour
s piece as is
Thanks for your help everyone.
-Original Message-
From: Kipp, James [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 9:15 AM
To: 'Steve Main'; perl beginners
Subject: RE: persisting environment variables
> It's a utility that allows user
does this but I was trying to rewrite it in Perl.
Working on Solaris.
-Original Message-
From: Kipp, James [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 8:52 AM
To: 'Steve Main'; perl beginners
Subject: RE: persisting environment variables
>
> Hello l
Hello list,
Does anyone know how to set an environment variable in Perl and then
have that variable persist after the Perl script has ended?
I'm working in Unix.
Thanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks Gang,
I ended up with
"if ( $line =~ m/^(ORA-\d+):/ ) {"
-Original Message-
From: Paul Kraus [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 06, 2002 11:11 AM
To: [EMAIL PROTECTED]; Perl
Subject: RE: Regex
Ummm no your are correct. I assumed it was imbedded in other text
Hello list,
I am trying to code a regex to pull out the number part of "ORA-600" or 600.
I have started with "if ($line =~ m/^(ORA-)(\-[0-9]*)$/) {" but this
is obviously wrong.
Anyone out there willing to get me on the right track?
thanks
Steve
--
To unsubscribe, e-mail: [EMAIL PROTEC
Hello list,
I am trying to find a way in Perl to select all files in a directory
but the most current.
In shell I can do `find . -name *.arc | sort | tail -1` to get
the most current file and then exclude it from processing.
I was hoping someone could point out a way to do it entirely
in Perl.
Hello list,
I have a script that will run with the SUID bit set. This of course has
generated a bunch of problems. As I have been working through them I have
come across one that I just can't seem to figure out.
I want to get this ( or some equivalent) to work:
$oraProgName = `/usr/bin/ba
tober 04, 2002 8:29 AM
To: 'Steve Main'; Kipp, James; [EMAIL PROTECTED]
Subject: RE: Environment setup
Another thing you might want to try is making a small module to house your
variables. You should be able to do something like this:
###
#ora.pm -- houses global varia
Thanks for the quick reply James,
How would I set this up in a script and have all the other scripts
be able to use it?
-Original Message-
From: Kipp, James [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 7:33 AM
To: 'Steve Main'; [EMAIL PROTECTED]
Subject: RE: E
Hello list,
I have an Oracle framework written in Korn shell scripts that I am
attempting to re-write in Perl. I am having trouble figuring out
how to "source" in environment variables. For the shell scripts, I have
a script that sets all of the global variables and then each script in
the fram
12 matches
Mail list logo