FW: Problem with installing PPM

2003-10-13 Thread Raghupathy, Ramesh .
Ramakrishna, 1) To check packages installed on your machine you have to "query" and not "search". 2) If you want to "search" packages through the proxy server, you need to define the following environment variables: HTTP_PROXY HTTP_PROXY_USER HTTP_PROXY_PASS. On my windows NT machine it is und

www::Mechanize through proxy

2003-10-01 Thread Raghupathy
Hi All, Here I am again asking for help from the wonderful folks ... I am running perl 5.8.0 on windows NT machine. I am trying to run a simple script using WWW::Mechanize through a proxy server. I have setup the HTTP_proxy, HTTP_proxy_pass and HTTP_proxy_user environment variables

Tie::StdHash

2003-09-25 Thread Raghupathy
Dear Friends, I have perl 5.6.0 for windoze and ppm 2.1.2. I like to install Tie::Hash and Tie::StdHash (or the whole Tie Bundle) on my PC but cannot find the modules in the perl repositories I have setup. (ppm 2.1.2 does not have a option to list the repositories I have setup). Can anyon

RE: authenticate module

2003-09-09 Thread Raghupathy
n box (in IE6 > it is). > > See LWP::UserAgent for more info... although it > doesn't say much about that > function. > > Rob > > > -Original Message- > From: Raghupathy [mailto:[EMAIL PROTECTED] > Sent: Monday, September 08, 2003 5:44 PM > To: [E

authenticate module

2003-09-08 Thread Raghupathy
Hi, I like to use WWW::Mechanize to scrape a website. However the website has a authentication page. Is there a perl module I can use to perform the authentication ? Thanks, Raghu __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design softw

Re: nested pattern match

2003-08-01 Thread Raghupathy
Rob and David, Thanks very much! That's exactly what I am looking for and sorry for the misleading subject on the email. Rob: Could you please explain why you need 2 questions marks on line#7 instead of just one minimal quantifier needed (I hope I am using the right words this time !!!). Tha

Re: nested pattern match

2003-07-31 Thread Raghupathy
else\s+def(.*?)#endif\s+def/isg For this #ifndef def (...1...) #else def (...2...) #endif def should be matched only if #if is not there within (...1...) and (...2...). Hopefully I have conveyed it more clearly. Thanks, Raghu ==

nested pattern match

2003-07-31 Thread Raghupathy
Hi All, I have a text file as shown below. How do I match patterns like the following: Pattern to be matched: = #ifndef def .. (anything except #if) #else def ... (anything except #if) #endif def My Input Data: ==

fixed length records and MQ

2003-07-30 Thread Raghupathy
Hi All, I need to unload data from sybase and output it as fixed length records into a MQ using perl. 1) Is is possible to write to MQ using perl ? 2) If I need to write out the fixed length records, do I have to format each field using "sprintf" function ? Are there any other alternatives ?

output help

2002-12-09 Thread Raghupathy, Ramesh .
Hi, I am using perl 5.8.0 for windows to output Unicode characters in a file and I like to see the unicode characters using any word processor on Windows. When I use Word 2000 using Arial Unicode MS font, all the unicode characters looks garbled. How can I see the Unicode characters of the file

RE: Question about this list

2002-04-15 Thread Raghupathy, Ramesh .
I just subscribe to the [EMAIL PROTECTED] and so I get only a few emails everyday but all messages exchanged as attachments to these emails. Hope this helps -Original Message- From: Troy May [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 4:19 PM To: Nikola Janceski; 'Timothy Jo

pattern match

2002-04-12 Thread Raghupathy, Ramesh .
Hi All, I have a file which has several occurances of word1 and word2 interspersed with other text. I need to extract only the text which is contained between consecutive occurances of word1 and word2 in that order. Is it possible to write a pattern match for this ? Thanks, Ramesh -- To un

substitution

2002-04-09 Thread Raghupathy, Ramesh .
Hi, I am trying to translate the abbreviation of the form A(4) to . I tried substitution as follows: $wholefile =~ s/(\w)\((\d+)\)/$1{$2}/g; This results in the abbrevation being replaced by spaces. How can I get this to work ? Thanks, Ramesh -- To unsubscribe, e-mail: [EMAIL PROTE