Hi: I have web page built using perl cgi. Generated page has the following
element
admin
Within the perl script is there a way to access the value of the element
userName and assign it to a variable?
Something along the lines
$currentUser = ;
Thanks
Ravi
--
To unsubscribe, e
7;t seem to
work. How do I figure out if the $dbh connection has been lost within the while
loop?
Any suggestions.
TIA
Ravi
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
h-3.00$ processRemedySubmit.plĀ
DBI connect('dbname=data;host=hostA;port=5435;','postgres',...) failed: could
not translate host name "hostA" to address: node name or service name not known
at ./scripts/processRemedySubmit.pl line 32
Died at ./scripts/processRemedySub
ferent if your hosting
use windows or linux.
On Wed, Jun 25, 2008 at 1:47 PM, Ravi Malghan <[EMAIL PROTECTED]> wrote:
> Hi: I have a script which runs fine when I run it from the shell prompt. But
> when I run it from within another application, I get the following error
>
> C
#x27;} =
'/usr/local/lib:/opt/ibm/netcool/platform/solaris2/pgsql8/lib:/export/home/netcool/oracle/instantclient_10_2:/export/home/netcool/arsapi/lib';
Any suggestions?
Thanks
Ravi
- Original Message
From: Jeff Peng <[EMAIL PROTECTED]>
To: btna <[EMAIL PROTECTED]>
nm. I was able to get the version by running
perl -MDBD::Oracle -e 'print "$DBD::Oracle::VERSION\n"'
Thanks
- Original Message
From: Ravi Malghan <[EMAIL PROTECTED]>
To: beginners@perl.org
Sent: Monday, June 23, 2008 6:47:07 AM
Subject: How to find version
How do I find out the version of DBD:Oracle module that is installed with my
perl? If I install another version, will it overwrite everything that is
related to the older module?
Thanks
Ravi
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi: I have a simple script which connects to a few databases. When I run the
script I get the "Out of memory! Callback called exit. END failed--call queue
aborted." error. It runs fine on other similar machines. Below is an example.
As soon as I add the 3rd database connection it starts giving m
slow when this string gets large.
TIA
Ravi
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Dr. Rudd: Thank you. That worked. I read up some docs on perlre. I know what .*
does. But couldn't figure out what does .*? does. Can Someone explain what that
? does
Also in the variant you suggested what does [^)] inside the paranthesis do?
Thanks
Ravi
- Original Message
From: Dr
parenthesis?
$OrigString =
"REQUEST(SERVICE,1DJGHKDFJGHDFJGHKDFJH\nDFJHGDFJHGJDFHGJKDFHG\nHGJDFHGJKDFHGJKDFHGJKDFH);";
$OrigString =~ m/REQUEST\((.*)\);/;
print "$1\n";
TIA
Ravi
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
have not found
any useful examples on the web. Can someone share a code ?
Que Name: TRS.E0.CREATE.REMEDY1
Queue manager: SPBO021T
MQ channel: REMEDY.CLIENT
IP: spbo021t.xx.xx.xx
Port: 1424
Thanks
Ravi
$exp->send("select Running from Service WHERE Name =
'CheckForRemedyTickets';\n");
exp_continue;
} ],
);
TIA
Ravi
Be a bet
the below statements
$field1=10;
$field2="abc";
TIA.
Ravi
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Hi: I am looking to build a script that can go to a webpage, login with a
username/password, download a page, perform a checksum comparison. Two things I
am trying to accomplish.
1. Is the website is up
2. Has the website been compromised.
I found a number of pointers when I googled some string
I had to set the LD_LIBRARY_PATH in the cron as following
0,5,10,15,20,25,30,35,40,45,50,55 * * * *
LD_LIBRARY_PATH=/export/home/netcool/oracle/instantclient_10_2:/usr/arsapi/lib:/usr/local/lib
/exp
ort/home/netcool/lookForNewRequests.pl
- Original Message
From: Ravi Malghan <[EM
ing lines in my script at the beginning and the file
libicudatabmc.so.32 is in /usr/arsapi/lib.
$ENV{'LD_LIBRARY_PATH'} =
'/export/home/netcool/oracle/instantclient_10_2:/usr/arsapi/lib:/usr/local/lib
ts.txt for more information and some alternatives.
at Makefile.PL line 1072.
==
The instant client does not have the .mk files this output talks about. I am
able to run sqlplus that is in the instant client and connect to database.
Could someone help.
T
A module is requiring that my perl be compiled with dynamic loading. I have
installed perl from a binary. How do I figure out if my perl has the dynamic
loading option?
bash-2.05$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
Platform:
osname=solaris, osver
running make or make install is there a way to point a destination in my home
directory?
Thanks
Ravi
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
To unsubscribe, e-mail: [EMAIL
+Desk/Default+User+View/?&qual='TRS%20Ticket%20Number'=\"1406746\"";
print '';
---
How do I pass double quotes so the browser goes to
http://appserver/arsys/forms/rearsp0
what am I doing wrong here when trying to access the
value john for node1
=
$SESSION{FirstRun} = 1;
%nodeowner = ("node1", "john", "node2", "nancy");
push(@SESSION, %nodeowner);
print "node1: $SESSION{$nodeowner{node1}}\n";
==
Th
One correction: SESSION is just a single dimensional
array @SESSION.
Thanks
Ravi
--- Ravi Malghan <[EMAIL PROTECTED]> wrote:
> Hi: I just can't seem to figure this out.
> I am trying to declare two associative array
> (%nodeowner and %nodeseverity) within another array
> c
5, "node2", 10);
How do I declare %SESSION containing %nodeowner and
%nodeseverity. And how do I access say the value John
give node1 from the nodeowner array that is in
SESSION?
TIA
Ravi
No
I am opening
the files
$AgentFH{$id} = *$name;
open($AgentFH{$id}, ">>$filename");
I am speaking to the system admin if he can bump up the limit to 1024.
Any other thoughts?
TIA
Ravi
- Original Message
From: Tom Phoenix <[EMAIL PROTECTED]>
To: Ravi Malghan
29995
virtual memory (kbytes) unlimited
Looks like I can open only 256 files. Anyway I can get around within perl
without changing the actual limit on the operating system.
Thanks
Ravi
- Original Message
From: John W. Krahn <[EMAIL PROTECTED]>
To: Perl Beginners
Sent:
I am expecting.
If there is a limit, how do I work around it?
Thanks
Ravi
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
--
To unsubscribe, e-mail: [EMAIL
\n";
I get the following error.
bash-2.05$ ./test.1.pl
Can't modify concatenation (.) or string in scalar assignment at ./test.1.pl
line 14, near ""This is test\n";"
Execution of ./test.1.pl aborted due to compilation errors.
Anyone
alter session set db_file_multiblock_read_count
= 128;
SELECT ED.utime, ED.info, ED.agent_id FROM
EVENT_DATA ED WHERE ED.utime between 1164650400 and 1164653940 order by
ED.utime;
END; "] at
/actuate/AcServer/reports_scripts/report_
Hi: I writing some logs into a directory which is mounted.
>df -k
199.11.255.50:/vol/rawdata
335544320 18471160 317073160 6%/actuate/rawdata
>
Is there a way to check within perl if the mount point exists before I write?
Thanks
ray
--
To unsubscribe, e-mail: [EMA
0/ or $token5 eq "cm:")
{
handleDetector5600($whole_event_string);
$dropEvent = 0;
}
===
Is there a different way to do this?
Thanks
Ravi
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
manipulating these type of
records and get a one record .
I hope i will get some suggestions,
Thank you.
regards,
Ravi.
rcIP in my $complete_string
instead of 0.
$complete_event =~ /srcIp=(.+) srcPort=/;
if($_) {$srcIp = $1;}
else {$srcIp = 0;}
Thanks
Ravi
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail
is long and also if
there is a way to make it log immediately? If I run
the logger command from the shell prompt, it logs
immediately.
TIA
Ravi
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.co
Hi: I have created a simple script to log syslog
messages with the following lines
openlog('lab-sensor', 'cons,ndelay,nowait','local7');
syslog('debug', 'this is a test message');
When I run this locally (local hostname: nms02), the
following message shows up in the syslog file.
Feb 14 16:50:37
Thanks
--- JeeBee <[EMAIL PROTECTED]> wrote:
>
> Just do $result = $var1 + $var2;
> int returns the integer part of a number,
> see: perldoc -f int
>
> JeeBee
>
> On Tue, 14 Feb 2006 07:04:18 -0800, Ravi Malghan
> wrote:
>
> > Hi: I think this is ver
Hi: I think this is very trivial, but just can't seem
to figure it out. I have two strings $var1 = "0.12"
and $var2 = "0.3". I want to add these two and have
0.42 in $result, but $result = int($var1) + int($var2)
always results to 0?
What am I doing wrong.
Thanks
Ray
___
Hi: I have a bunch of xml files defined against a DTD.
I want to parse them. I googled for perl XML reader
modules and found lots of them. Anybody have used
specific ones and have recommendations?
Thanks
Ravi
__
Do You Yahoo!?
Tired of spam? Yahoo
ipt creates a html page with the
following html code
=
AlertKey:
=
Thanks
Ravi
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
lementation methodology for my purpose.
Thanks,
Ravi
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
Hi: has anybody built a perl scripts to receive data
from multiple TL1 devices and process them? Is there a
module? Or any other suggestions on how this can be
done.
Thanks
Ravi
__
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http
Hello: I have perl 5.005_03 on solaris 2.8 which was
installed with the OS. I would like to upgrade it to
5.6. Should I pkgrm the existing perl before I install
the new perl ? or is there any other recommended way
to upgrade.
Thanks
Ravi
__
Do you Yahoo!?
Yahoo
} =
I guess I could use @{$Counter{$routerN}}
Thanks for the help.
Ravi
--- Wiggins d Anconia <[EMAIL PROTECTED]> wrote:
> Please bottom post...
>
> > True. Since the value(s) for @Counter$router is
> going
> > to be array, manipulating that hash was making
> things
>
I may have found the answer, I could use
@{$Counter{$router}} . I will try this.
Thanks
Ravi
--- Ravi Malghan <[EMAIL PROTECTED]> wrote:
> True. Since the value(s) for @Counter$router is
> going
> to be array, manipulating that hash was making
> things
> complex for me.
True. Since the value(s) for @Counter$router is going
to be array, manipulating that hash was making things
complex for me.
If I use a hash (%Counter), what do I have to do such
that the resulting value for $Counter{$router} is an
array.
Thanks
Ravi
--- Wiggins d Anconia <[EMAIL PROTEC
Hi: I have a existing variable called $router which is
"192.168.1.1". I want to create a array which looks
like @Counter192.168.1.1.
@Counter.$router does not seem to work.
Thanks in advance
Ravi
__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web sit
Hi: I want to split the string
0.0.0.0.1.10.1.30.1.10.1.30.1
into 4 variables: 0.0.0.0, 1, 10.1.30.1 and 10.1.30.1
any suggestions?
TIA
ravi
__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
--
To unsubscribe, e-mail
http://theoryx5.uwinnipeg.ca/CPAN/perl/pod/perlfaq8/How_can_I_capture_STDERR_from_an_externa.html
--- [EMAIL PROTECTED] wrote:
> Can someone help me with capturing an output of a
> system() call?
>
> ie ($a)=system("uname -n");
>
> where $a would have the output value.
>
> thanks
>
>
> --
Hi: whatz the best way to copy an multidimensional
array onto another. I have never used something like
clone, just want to know whatz the easiest route.
Thanks
Ravi
__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com
t} = $cost;
print "$route on $NODE cost:
$route{$NODE}{$routeDest};
==
What am I doing wrong here?
Thanks
Ravi
__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
--
To unsubscribe, e-mail: [
ce I was thinking of doing all
"chdir"s
inside the perl script with "system-cd"s )
Please let me know if you have any workarounds for this !!
Thanks again,
Ravi
T.S. Ravi Shankar wrote:
>Hi all :
>
>Could anyone tell me how I could move between the directories
ill remains unchanged.
If the above ways are incorrect, please direct me to the correct.
Thanks,
Ravi
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi David ...
That answers all my questions !!!
Thank you very much,
Ravi
"Geer, David van der" wrote:
> Hi Ravi,
>
> The first line "#!" tells the program how te read the executable.
> F.e. if you would change it into "#!/bin/ksh" it means your (
nd.pl line 1.
Why ??
Thanks again,
Ravi
"Beau E. Cox" wrote:
> - Original Message -
> From: "T.S. Ravi Shankar" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 03, 2003 11:04 PM
> Subj
Hi Wang :
Try this :
sub BEGIN {
push @INC, "mysandbox/blah"; # you can include any path here
}
use myPackage.pm
/ Ravi
Wenjie Wang wrote:
> Greetins,
>
> I'm try to use another perl module of mine in a different perl file in
> different directory.
means ??
Please advise.
Thanks in advance
Ravi Shankar
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://www.regenechsen.de/regex_en/regex_1_en.html
http://www.cs.cf.ac.uk/Dave/PERL/perl_caller.html
Good luck !!
Regards
Ravi
klinsitik reckon wrote:
> I am just starting to learn with perl. What software,
> books, or web sites would be helpful to learning the
> VERY basics of this new language.
In what way "eval" help here in traping the errors ?? Where does
$PERL_OPTIONS get value ??
Thank you very much,
Ravi
Hi:
I am using a statement currently as follows
if(($node =~ /ma/) && ($node =~ /ny/))
Using the following statement does not seem to be
giving expected results
if($node =~ /(ma&&ny)/
where as: if(($node =~ /ma/) | ($node =~ /ny/))
is same as
if($node =~ /(ma|ny
Hi: I have this statement which checks for existence
of the $VAL variable and performs certain actions
if($VAL){
$VAL = "$VAL:$expr"; }
else {
$VAL = "$expr"; }
Can this 4 line statement be reduced to a single line
using "
Hello: I seem to have forgotten
Can this statement be shortened
if(($node =~ /net/) || ($node =~ /gaat/))
The following does not give me the expected results
if($node =~ (/net/ || /gaat/) )
TIA
Ravi
__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS
guys
I am writing a code in perl to fetch the auction numbers from a URL.
I am also fetching some other details in three separate files. I have a main file that
deals with these auction numbers, i have to call these three files into the main file
and print out the details.
eg:
first file :
has any body used dbfuncs wrapper for dbi i have perl 5.6.1 , mysql 3.20
and dbi and dbfuncs installed
i could connect to mysql using dbi directly but dbfuncs i troubling me...
with the below erro
Mysql::DESTROY: Not defined in Mysql and not autoloadable (last try destroy)
at /usr/local/lib/perl
ve pathnames for the files
print "Tar-ing file into Source dir ..$source_dir\n";
system("/usr/bin/tar -cvf $dir_name.tar ./$dir_name");
- Ravi
-Original Message-
From: Baartmans, Hans [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 7:22 AM
To:
Hi all,
I am trying to do two basic things in my PERL
script:
1) Read in the values of two environment variables
2) Print the values of scalars and environment
variables
I do not understand the errors that were generated
when I compiled the following script. Any help in
understanding what I ma
";
$ftp->quit();
I have no luck making the $ftp->command stuff to work. I'm using
solaris 5.8 ftp client. Anyway, I can make this work? Native
Solaris ftp client/server can not support "quot site" stuff.
Am I out of luck??
Please dont offer suggestions to use "Net
e c4 and c5 as
the values different from instance "1" to instance "2".
-ravi
e c4 and c5 as
the values different from instance "1" to instance "2".
-ravi
68 matches
Mail list logo