Reading Locked PDF files

2004-10-07 Thread ashish srivastava
Hi, Has anybody read a .pdf file from a perl script? I am trying to use PDF::Extract module, but not able to get the o/p. Please let me know if any one has written similar scripts? Thanks Ashish _ Seized by wanderlust? Have the best

Getting output from DBI->do()

2004-09-29 Thread ashish srivastava
Hi, I have a script that tries to compile all the invalid objects in a Oracle db. How do i know whether the compile was successful or NOT? i.e. if an object dosent compile i shud display : "Warning: Package Body altered with compilation errors." or if it does, "Package body altered" i.e. (output

Re: Running a script from command line as well as browser

2004-09-01 Thread ashish srivastava
print "[DISPLAY YES|NO]\t: Whether to display Errors on screen\n\n"; print "[DEFAULT FILE]\t\t: Name of defaults file (with full path), to execute in non-interactie mode\n\n"; } ### --------

Running a script from command line as well as browser

2004-09-01 Thread ashish srivastava
Hi, I have a script which takes some values from a user(interactively e.g. enter value for ..). Now i need to make a provision that this script be run from a UI where the user inputs all the values in the form. presently i am checking whether @ARGV or $ENV{CONTENT_LENGTH} is defined or not. IF @

Running a script from command line as well as browser

2004-08-26 Thread ashish srivastava
Hi, I need to run a script either from a command line or from a web ui. The script takes some command line arguments. At present i have created a soft link from the cgi-bin dir to the actual location of the script. But how do i pass the command line args from the UI? Do i need to use JavaScript?

Running a script non-interactively.

2004-08-19 Thread ashish srivastava
Hi Everyone, I have a script that prompts a user for some values (dir. location, file name etc). I have a requirement that this script be run in a non-interactive mode also. That is the user stores his inputs in a text file and gives the location of the defaults file as a command line arg. How c

Re: Help needed in Perl/LWP

2004-07-13 Thread ashish srivastava
>content : $res->status_line; print $res->content(); This prints the entire HTML page ------ My LWP/Mechanize example Action si : What am i missing? THanks Ashish From: "Yehuda Berlinge

Help needed in Perl/LWP

2004-07-13 Thread ashish srivastava
Hi, I am trying to replicate a form submit action. Will LWP be useful for this? i am new to LWP so dont know much about its capabilities. The form that i am trying to submit calls a perl program and passes some variables in the POST method. The form has some text fields which the user fills and

Re: AW: Formatting Error Messages

2004-05-18 Thread ashish srivastava
Thanks Bill .. that's working now! Output (asrivast) test- perl p1.plDBI connect('frf1154a','scott',...) failed:  at p1.pl line 5 ORA-01017: invalid username/password; logon denied (DBD: login failed) ashish >From: "$Bill Luebkert" <[EMAIL P

Re: AW: Formatting Error Messages

2004-05-18 Thread ashish srivastava
54a','scott',...) failed:  at p1.pl line 5 ORA-01017: invalid username/password; logon denied (DBD: login failed) at p1.pl line 5.Ashish >From: "$Bill Luebkert" <[EMAIL PROTECTED]> >To: ashish srivastava <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED] &g

Setting Linux Env Variables from Perl script

2004-05-11 Thread ashish srivastava
Hi, Is there a method by which we can permanently define an env variable from a perl script? I mean i define a variable and set its value in a script. And i can access the variable even if i quit the script? I have tried using the system("setenv VAR var_value"); but this dosent work. #!/local/bin/p

DBI Question

2004-01-30 Thread ashish srivastava
Hi Is it possible to get the names of the columns which a user has selected? I mean suppose a user writes a query as : select ename,deptno,sal from emp; then can we print the column name(ENAME,DEPTNO,SAL) ? Thanks Ashish       Easiest Money Transfer to India. Send Money To 6000 Indian Towns.

RE: Problem running different versions of Perl

2004-01-07 Thread ashish srivastava
Hi Paula, We tried to use both the approaches i.e. perl and . But no luck. I have included the entire @INC of perl5.8 in my script. I really dont understand why this is happening. :( Ashish From: "Capacio, Paula J" <[EMAIL PROTECTED]> To: "ashish srivastava" &

DBI errors

2003-07-18 Thread ashish srivastava
Hi, I am writing a simple query which is failing: The query and the error is : QUERY = use DBI; $dbh = DBI->connect('DBI:Oracle:reldb','rnd','welcome') or die "Couldn't connect to Local database: " . DBI->errstr; $GET_ARU_FAILURES << "EOU"; SELECT b.product_abbreviation,a.bug_nu

(no subject)

2003-07-01 Thread ashish srivastava
Hi Apologies if this question has been asked before or this is not the correct mailing group. I want to create a form for the user to fill in data and this data should populate some table in my database. How do we this ? Thanks Ashish

Re: HElp needed

2003-06-21 Thread ashish srivastava
Another doubt Suppose i create a link to a file... now when the user clicks on this the file should open to show its contents (either in a new window or in thew same one).. how to do this?? Rgds Ashish From: "$Bill Luebkert" <[EMAIL PROTECTED]> To: ashish srivastava <[E

IDE for Perl/CGi

2003-06-17 Thread ashish srivastava
Hi Anybody knows of a good IDE for PERL/CGI development (freeware of course ;) ). Please provide the link to it. Thanks Ashish _ Wedding blues? Need help? http://www.msn.co.in/Matrimony/ __

Stuck in Find::File

2003-06-14 Thread ashish srivastava
HI I am trying to log on to my unix server (from my windows m/c) and list the directory structure. I came across this File::Find module . It works fne on my windows m/c. but when i try to telnet to my unix m/c and set the base dir as xxx it gives the following error "Can't stat /home/: No suc

RE: Help needed -- Net::telnet gives errors

2003-06-13 Thread ashish srivastava
t; The problem is that when i clik submit in the login screen, it dosent paas the usrname nad pswd to the perl prog. I dont understand why this is happening. Please help. Regards Ashish From: ibrahim <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: "'ashish srivastava'" &l