RE: Perl html or xml

2005-01-23 Thread Jerry Preston
Why when sending the page, the file name is not ".html" or "xxx.htm"? Thanks, Jerry -Original Message- From: Jerry Preston [mailto:[EMAIL PROTECTED] Sent: Sunday, January 23, 2005 1:55 AM To: 'Perl Beginners' Subject: Perl html or xml Hi! I was sending a web page and it showed it

Re: Perl html or xml

2005-01-23 Thread Ing. Branislav Gerzo
Jerry Preston [JP], on Sunday, January 23, 2005 at 02:17 (-0600) wrote: read CGI documentation: -no_xhtml By default, CGI.pm versions 2.69 and higher emit XHTML (http://www.w3.org/TR/xhtml1/). The -no_xhtml pragma disables this feature. -- ...m8s, cu l8r, Brano. [Putting out the fire with

sub download

2005-01-23 Thread Ing. Branislav Gerzo
Hi pals, I want be sure, that download() return something, not undef, or empty string, so snippet is: my $content = download('http://www.perl.org'); sub download { my $ua = LWP::UserAgent->new; $ua->timeout(10); $ua->proxy(['http', 'https'] => $proxy) if $proxy; my $resp = $ua->get(@_);

search.cpan down :(

2005-01-23 Thread Harsh Busa
again i m facing issues with connecting to search.cpan.org from india harsh -- __ http://www.ebackend.com/blog -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: search.cpan down :(

2005-01-23 Thread Randy W. Sims
Ing. Branislav Gerzo wrote: Harsh Busa [HB], on Sunday, January 23, 2005 at 18:54 (+0530) typed: HB> again i m facing issues with connecting to search.cpan.org from india me too, slovakia. Anyone knows something more, why ? This has been going on for a while, affecting everyone. Not sure what is h

Re: search.cpan down :(

2005-01-23 Thread Ing. Branislav Gerzo
Harsh Busa [HB], on Sunday, January 23, 2005 at 18:54 (+0530) typed: HB> again i m facing issues with connecting to search.cpan.org from india me too, slovakia. Anyone knows something more, why ? -- ...m8s, cu l8r, Brano. [Oxymoron: We will arrest any inmate who misbehaves.] -=x=- Skontro

problem with installing DBD::mysql module

2005-01-23 Thread gowthaman ramasamy
Dear list, I have a problem with installing DBD::mysql module. I could install DBI successfully, but not the driver for mysql. Initially i was not able to find the "mysql_config" file. But when i set bin dir into path it worked. But when i make it exits with error 1. can anyone help me to get out

Re: Perl html or xml

2005-01-23 Thread Chris Devers
On Sun, 23 Jan 2005, Jerry Preston wrote: > I was sending a web page and it showed it's self as ".xml". When I look > at the source code of my Perl CGI script the first lines are: > > >PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > > Why XML? XHTML 1.0 is, in most ways, identic

Re: search.cpan down :(

2005-01-23 Thread Dmitry Nikolayev
As I heard,.. the probs with network cards in FUNET... Should be working ok soon... With best wishes, Dmitry Nikolayev http://perl.dp.ua "Harsh Busa" <[EMAIL PROTECTED]> ???/ ? ?: news:[EMAIL PROTECTED] > again i m facing issues with connecting to search.cpan.org fro

Re: problem with installing DBD::mysql module

2005-01-23 Thread Daniel Kasak
gowthaman ramasamy wrote: Dear list, I have a problem with installing DBD::mysql module. I could install DBI successfully, but not the driver for mysql. Initially i was not able to find the "mysql_config" file. But when i set bin dir into path it worked. But when i make it exits with error 1. can a

Storing $DIGIT variables in arrays

2005-01-23 Thread Jesse Taylor
Below I have posted the source for a program I am attempting to write that will take a list of URL's, grab the pages, and search them for email addresses and IP addresses, remove duplicate entries, and store the results in a text file. Everything compiles fine and runs without any warnings, how

Re: How to find regex at specific location on line

2005-01-23 Thread Jay
On Sat, 22 Jan 2005 13:34:54 -0800, John W. Krahn <[EMAIL PROTECTED]> wrote: > > Yes, two ways that I can think of: > > if ( substr( $_, 30, 3 ) =~ /\|[BNPG]\|/ ) { > > if ( /^.{30}\|[BNPG]\|/ ) { > > John > -- For the sake of comparison, here is a set of benckmarks for a c