Re: pm for parsing HTML tags.

2007-10-09 Thread Jeff Pang
2007/10/10, Patrik Hasibuan <[EMAIL PROTECTED]>: > Dear my friends... > > Which pm can I use for parsing HTML tags? > Hi, Do you know CPAN.org?you can search it with any keywords you want at first. For your question,maybe HTML::Parser is suitable.see: http://search.cpan.org/~gaas/HTML-Parser-3.56

Re: pm for getting the content of a URL.

2007-09-19 Thread Patrik Hasibuan
You've solved my problem, Chas. Thank you very...very...much. I really appreciate your help. On Mon, 17 Sep 2007 16:39:08 -0400 "Chas Owens" <[EMAIL PROTECTED]> wrote: > On 9/17/07, Patrik Hasibuan <[EMAIL PROTECTED]> wrote: > snip > > I want to get a content of a URL (like curl does). Which pm

Re: pm for getting the content of a URL.

2007-09-19 Thread Patrik Hasibuan
Dear Jenda, you thank you very much for your help. My problem has been solved because of your help. Also thank you for the further additional information about socket and lwp:;agent. On Tue, 18 Sep 2007 00:41:45 +0200 "Jenda Krynicky" <[EMAIL PROTECTED]> wrote: > From: Patrik Hasibuan <[EMAIL

Re: pm for getting the content of a URL.

2007-09-17 Thread Jenda Krynicky
From: Patrik Hasibuan <[EMAIL PROTECTED]> > Dear my friends... > > I want to get a content of a URL (like curl does). Which pm can I use? > > I'm facing a development restriction that my perl-code is going to be > run on a webhosting company'es server and I do not have libcurl there > so I can no

Re: pm for getting the content of a URL.

2007-09-17 Thread Chas Owens
On 9/17/07, Patrik Hasibuan <[EMAIL PROTECTED]> wrote: snip > I want to get a content of a URL (like curl does). Which pm can I use? snip You probably want LWP::Simple (specifically its get function): #!/usr/bin/perl use strict; use warnings; use LWP::Simple; my $content = get "http://3.am";;

Re: .pm

2007-01-08 Thread Tom Phoenix
On 1/8/07, xavier mas <[EMAIL PROTECTED]> wrote: I want to install the Copy::File module and utf-8 pragma If Perl is properly installed, you should have the File::Copy module and all pragmas installed as well. So if you don't have those, re-install Perl. Good luck with it! --Tom Phoenix Stone

Re: ~.pm may be a broken handle

2005-05-11 Thread Chris Devers
On Wed, 11 May 2005, Mary Burwell wrote: > I get the error below when trying to update CPAN using perl -MCPAN -e > 'install Bundle::CPAN' > > The bundle file ~cpan\Bundle\CPAN.pm may be a broken > handlefile. It seems not to contain any bundle definition. Please > check The file and i

Re: .pm and .pl files.

2005-04-02 Thread Randal L. Schwartz
> "Jay" == Jay Savage <[EMAIL PROTECTED]> writes: Jay> I respectfully disagree. I blame Richard Stallman for my habits, not Jay> Bill Gates, et. al. 'emacs test' when creating a file opens it in Jay> Text Fill, but 'emacs test.pl' when creating a file saves me 'M-x Jay> perl-mode' (or 'M-x Cp

Re: .pm and .pl files.

2005-04-01 Thread Jay Savage
On 30 Mar 2005 07:07:56 -0800, Randal L. Schwartz wrote: > > "Chris" == Chris Devers <[EMAIL PROTECTED]> writes: > > Chris> By convention, the .pm extension denotes Perl modules -- libraries used > Chris> by other scripts but not run directly -- and .pl denotes Perl scripts > -- > Chris> pro

RE: .pm and .pl files.

2005-04-01 Thread Charles K. Clarkson
Mike Lesser wrote: : Is the library file thing passe? I was going to put some stuff in a : library, but I get the impression that I should jump right to a pm. : As a newbie this is a little daunting. I use .pl for scripts and .pm for modules. Modules can be daunting

Re: .pm and .pl files.

2005-04-01 Thread Mike Lesser
So if we don't want to be like dweebs, it's no extension for scripts, pl for libraries? What's weird is that many of the O'Reily books I have use the pl... so I blame them. Is the library file thing passe? I was going to put some stuff in a library, but I get the impression that I should jump

Re: .pm and .pl files.

2005-03-30 Thread Chris Devers
On Wed, 30 Mar 2005, Randal L. Schwartz wrote: > > "Chris" == Chris Devers <[EMAIL PROTECTED]> writes: > > Chris> By convention, the .pm extension denotes Perl modules -- libraries > Chris> used by other scripts but not run directly -- and .pl denotes Perl > Chris> scripts -- programs that *

Re: .pm and .pl files.

2005-03-30 Thread Randal L. Schwartz
> "Chris" == Chris Devers <[EMAIL PROTECTED]> writes: Chris> By convention, the .pm extension denotes Perl modules -- libraries used Chris> by other scripts but not run directly -- and .pl denotes Perl scripts -- Chris> programs that *are* meant to be run directly. Not scripts. Libraries.

Re: .pm and .pl files.

2005-03-30 Thread John W. Krahn
Srikrishna Raghammudi wrote: Can Any body pls tell me the differnece between .pm and .pl files. .pl was used in Perl4 and earlier to designate Perl Libraries and when Perl5 came out .pm was used to designate Perl Modules. John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PR

Re: .pm and .pl files.

2005-03-29 Thread Chris Devers
On Tue, 29 Mar 2005, Srikrishna Raghammudi wrote: > Can [anybody] [please] tell me the differnece between .pm and .pl > files[question mark] By convention, the .pm extension denotes Perl modules -- libraries used by other scripts but not run directly -- and .pl denotes Perl scripts -- programs

RE: PM installation problem

2002-07-24 Thread Timothy Johnson
Do you have a C compiler? -Original Message- From: Connie Chan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 9:40 AM To: [EMAIL PROTECTED] Subject: Re: PM installation problem Thanks a lot =) but this method don't work for me... because the cpan server ( I guess )

Re: PM installation problem

2002-07-24 Thread Connie Chan
om: "Akens, Anthony" <[EMAIL PROTECTED]> To: "Connie Chan" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, July 25, 2002 12:26 AM Subject: RE: PM installation problem If you're using activestate perl on your windows box, just use ppm. Just

RE: PM installation problem

2002-07-24 Thread Akens, Anthony
If you're using activestate perl on your windows box, just use ppm. Just type ppm to enter the package manager, then install package:name and it does the work for you. -Tony -Original Message- From: Connie Chan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 11:04 AM To: [E