Hi,
Thanks a lot for posting hte most efficient way to remove leading
and trailing spaces. And yes you are right the retval will always be zero. I
am guessing it was supposed to capture sql code errors but it wont. It will
capture only sqlplus errors.
I havent pasted the whole pl
HI,
1. I believe the -S option is to suppress thingls like the SQL*Plus
banner, and other output which doesnt need to be logged.
2. I wanted the sql commands in the same file to reduce the number
of script files.
Eventhough design wise it may not be perfect, the sqlplus commands
[ Please do not top-post. TIA ]
Gopal Karunakar wrote:
Hi,
Hello,
Here's the code pasted below. The sub basically executed an anonymous
pl/sql block (which is executing fine). I want to make sure that the user
will not be able to a ctrl-c and exit at the stage where the sql statements
On Sep 22, 11:04 am, gk.kalipuray...@gmail.com (Gopal Karunakar)
wrote:
> Hi,
>
> Here's the code pasted below. The sub basically executed an anonymous
> pl/sql block (which is executing fine). I want to make sure that the user
> will not be able to a ctrl-c and exit at the stage where the sql s
$retval = `/$ENV{'ORACLE_HOME'}/bin/sqlplus -s $QUERY_STRING << EOF >>
One question out of curiosity. Actually 2 questions:
1. I am not sure if -s is a valid sqlplus option. I have always used -S to
operate in silent mode. I am using SQL*Plus: Release 10.2.0.4.0 - Production
2. Is there any
Hi,
Here's the code pasted below. The sub basically executed an anonymous
pl/sql block (which is executing fine). I want to make sure that the user
will not be able to a ctrl-c and exit at the stage where the sql statements
are getting executed.
I tried declaring it as local but even then i
On Sep 22, 6:53 am, gk.kalipuray...@gmail.com (Gopal Karunakar) wrote:
> I used the $SIG{'INT'} = 'IGNORE'; in a sub in my script so that the
> script while executing the particular sub will ignore the ctrl-c. And I gave
> $SIG{'INT'} = 'DEFAULT'; at the end of the sub to reset the behavio
Hi All,
I used the $SIG{'INT'} = 'IGNORE'; in a sub in my script so that the
script while executing the particular sub will ignore the ctrl-c. And I gave
$SIG{'INT'} = 'DEFAULT'; at the end of the sub to reset the behavior back to
normal. But when i give the ctrl-c the process seems to be
I downloaded the /examples in Net::Twitter, and they don't seem to
work. There were 2 in that directory. I've searched tons on Google,
and I've read both links on the dev.twitter.com site for perl, but
can't get those to work. Maybe someone here can help?
My Twitter code does only a few things:
Hi Jon,
Thanks, again. However, I took a different route. I looked at the response
to Shlomi's question on this in perl5-porters. The responder suggested
adding
use POSIX qw(strtod);
and then replacing your calls to "parse_sci_note" with "strtod". My code
works now. Any drawback to this method?
2010/9/22 Kammen van, Marco, Springer SBM NL :
>>Network Administration
>
> http://www.amazon.com/Network-Programming-Perl-Lincoln-Stein/dp/02016157
> 11
>
Me second.
Network Programming with Perl by Lincoln D. Stein is a great book!
Vokern.
--
To unsubscribe, e-mail: beginners-unsubscr...@per
11 matches
Mail list logo