Re: Query on databases

2005-11-17 Thread Gayatri
Hi, Thanks a lot for yr kind help :-) It worked finally :-) Regards, Gayatri. - Original Message - From: "Pant, Hridyesh" <[EMAIL PROTECTED]> To: "'Gayatri'" <[EMAIL PROTECTED]>; Sent: Friday, November 18, 2005 12:27 PM Subject: RE: Query on databases > Hi, > Pls try it > Unzip the pack

RE: Query on databases

2005-11-17 Thread Pant, Hridyesh
Hi, Pls try it Unzip the package to a temporary directory. Install the package by specifying the ppd file directly: ppm install c:\tmp\xyz.ppd Regards Hridyesh -Original Message- From: Gayatri [mailto:[EMAIL PROTECTED] Sent: 18 November 2005 11:33 To: beginners@perl.org Subject: Fw: Qu

Fw: Query on databases

2005-11-17 Thread Gayatri
- Original Message - From: "Gayatri" <[EMAIL PROTECTED]> To: "S, karthik (IE03x)" <[EMAIL PROTECTED]> Sent: Friday, November 18, 2005 11:29 AM Subject: Re: Query on databases > Hi Karthik, > I downloaded DBD-Mysql frm the given location and i did following - > ppm> repository add perlS

RE: Query on databases

2005-11-17 Thread S, karthik \(IE03x\)
Hey Gayatri, This must be because your company provides internet service through proxy servers. If so, PPM will not work properly. There are techniques to overcome this problem. But you may have to contact your system admin for that. Since you are using Windows XP, I would advice you to dow

Re: Query on databases

2005-11-17 Thread Gayatri
Thanks, I tried installing module using PPM. but its throwing following error As i want to install a module on mysql, i typed following - ppm> search mysql Searching in Active Repositories Error: No valid repositories: Error: 500 Can't connect to ppm.ActiveState.com:80 (connect: Unknown error) Erro

RE: LWP package problem

2005-11-17 Thread Pine Yan
I did try the following: use LWP::UserAgent; require LWP::UserAgent; and they don't help. Since the LWP::UserAgent->new routine is working, I assume the package is loaded... Sincerely Pine -Original Message- From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED] Sent: Thursday, November

Re: LWP package problem

2005-11-17 Thread Jeff 'japhy' Pinyan
On Nov 17, Pine Yan said: #!/home/gnu/bin/perl use LWP; my $browser = LWP::UserAgent->new; my $url = 'http://www.google.com'; my $response = $browser->get($url); You didn't load the LWP::UserAgent module, though. You loaded LWP, not LWP::UserAgent. -- Jeff "japhy" Pinyan% How

LWP package problem

2005-11-17 Thread Pine Yan
I have the following code: #!/home/gnu/bin/perl use LWP; my $browser = LWP::UserAgent->new; my $url = 'http://www.google.com'; my $response = $browser->get($url); die "Can't get $url -- ", $response->status_line unless $response->is_success; print "Content: $response->content_type"; print "-

Re: Query on databases

2005-11-17 Thread Alfred Vahau
If you are using ActiveState Perl, then install the module via PPM. Manual installation on the WinXP is time consuming and you will have to do a lot of googling on the solutions to the error messages you get or post to the relevant Mysql mailing list. The installation of the module itself is o.

Re: ok GD::Graph question

2005-11-17 Thread Chris Devers
On Thu, 17 Nov 2005, Michael Gargiullo wrote: > I've been driving myself crazy with this for a few hours, any help > would be great. 1. Read the documents. 2. Write some code. 3. Show us the code you tried. Please demonstrate 1, 2, and 3, and we will be happy to assist you :-) -- Chris D

Re: How to do dos2unix for entire directory

2005-11-17 Thread Chris Devers
On Wed, 16 Nov 2005, Bob Showalter wrote: > Santosh Reddy wrote: > > > I want to convert all the files which are in dos format to UNIX format. > > perl -pi -e 's/\cM$//' * Running this on a directory of image files would be painful :-) While dos2unix "seems" like a simple enough utility, mode

Re: Date::Manip Delta_Format aprox question

2005-11-17 Thread Dermot Paikkos
On 17 Nov 2005 at 11:36, Rianne Ubbink wrote: > Hello, > > For a program that I'm writing atm I have to calculate the number of > months between two dates. The months format is 2005-11-17 and I've been > able to get a nice delta with the time in between de two dates. > This sounds like a jobs

please help with "embedding" Perl into VB6 app

2005-11-17 Thread Kirill V. Marchuk
Hello, All! Can anyone help me with this: http://www.experts-exchange.com/Programming/Programming_Languages/Perl/Q_216 29752.html thanx in advance ! With best regards, Kirill V. Marchuk. E-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Date::Manip Delta_Format aprox question

2005-11-17 Thread Rianne Ubbink
Hello, For a program that I'm writing atm I have to calculate the number of months between two dates. The months format is 2005-11-17 and I've been able to get a nice delta with the time in between de two dates. I've done it like this: $implantdate="2000-11-07" $fudate="2005-11-15" I've done

ok GD::Graph question

2005-11-17 Thread Michael Gargiullo
Morning, I need to create a graph that has it's x axis in the middle to show difference between x axis base ( an average of scores I have) and the plotted point or bar (which will be x% above or below the base). Any idea how to accomplish this? Time for some ascii art for a better explanation (

RE: New on Mail::Send

2005-11-17 Thread Ryan Frantz
> -Original Message- > From: ZHAO, BING [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 17, 2005 12:15 AM > To: Bob Showalter > Cc: beginners@perl.org > Subject: New on Mail::Send > > I am on Windows XP home edition. I have this software Secure > Shell which tunnels to

Re: How to get this hash?

2005-11-17 Thread John Doe
S, karthik (IE03x) am Donnerstag, 17. November 2005 09.54: > John and Jeff, > > Could you please explain the RE used. > > /^User:\s*(.+?)$(?=.*=([^[]+)\[)/sm; > > I understood that it looks for 'User:\s'. Then I am not able to figure > out the meaning of the remaining part of RE. Hi karthik Let m

Re: New on Mail::Send

2005-11-17 Thread Bob Showalter
ZHAO, BING wrote: > I don't care how the > perl is developing and where perl is going. I am doing stuff way fancier > than what you can imagine. I am current doing a project with web input > and data anaylysis and email feedback. You're right, that's *way* fancier than I can imagine! I'll not tr

Re: How to get this hash?

2005-11-17 Thread Jeff Pang
Sorry,I really didn't know this regex written by John: /^User:\s*(.+?)$(?=.*=([^[]+)\[)/sm; Can anyone explain for that?thanks. 2005/11/17, Jeff Pang <[EMAIL PROTECTED]>: > Sorry,I can't understand for this RE too.John explain that pls. > > 2005/11/17, S, karthik (IE03x) <[EMAIL PROTECTED]>: >

perl2exe error dbi connect failed !

2005-11-17 Thread sunita
hi friends, i have written a perl script which is using oracle DBI and DBD . the script is running fine. but when i converted it to exe using perl2exe it does not run if perl is not there on the system. if perl , dbi and dbd present then it runs well. the error shown by the exe is as follo

input must be 8 bytes long at Blowfish.pm line 56.

2005-11-17 Thread diego . veiga
Running this script in perl gives me an error. The script: @arrFilesToFtp = ('/tmp/xpp_proc/fullpub/170/afm/1234/2005_11_16_pid-28678/2005_11_16_170_afm_1234_fullpub_pid-28678.xml','/tmp/xpp_proc/fullpub/170/afm/1234/2005_11_16_pid-28678/2005_11_16_170_afm_1234_fullpub_pid-28678_xpppdfcontro

Re: How to get this hash?

2005-11-17 Thread Jeff Pang
Sorry,I can't understand for this RE too.John explain that pls. 2005/11/17, S, karthik (IE03x) <[EMAIL PROTECTED]>: > John and Jeff, > > Could you please explain the RE used. > > /^User:\s*(.+?)$(?=.*=([^[]+)\[)/sm; > > I understood that it looks for 'User:\s'. Then I am not able to figure > out

Re: regex

2005-11-17 Thread Gerard Robin
On Wed, Nov 16, 2005 at 04:57:30PM -0500 Jay Savage wrote: > On 11/16/05, Gerard Robin <[EMAIL PROTECTED]> wrote: > > On Wed, Nov 16, 2005 at 05:17:29AM -0800 John W. Krahn wrote: > > > > > The first one should be faster. Of course you could use the Benchmark > > > module > > > to find out for su

RE: How to get this hash?

2005-11-17 Thread S, karthik \(IE03x\)
John and Jeff, Could you please explain the RE used. /^User:\s*(.+?)$(?=.*=([^[]+)\[)/sm; I understood that it looks for 'User:\s'. Then I am not able to figure out the meaning of the remaining part of RE. With Best Regards, Karthikeyan S -Original Message- From: Jeff Pang [mailt

Re: How to get this hash?

2005-11-17 Thread Jeff Pang
Thanks for John.I have tested it,it is good for me. 2005/11/17, John W. Krahn <[EMAIL PROTECTED]>: > Jeff Pang wrote: > > Hi,lists, > > Hello, > > > I have a file that look as: > > > > -- > > User: honorhr40 > > Got data from YY23 (md1=23,md2=24): > > [0] =46[I:0 T:Int] > > [1] pd=[I:0 T:Str]