Re: URI::Heuristic: should it call hostfqdn() on loading?

2002-09-05 Thread Gisle Aas
Ed Avis <[EMAIL PROTECTED]> writes: > When you do 'use URI::Heuristic' it runs some code to set the > $MY_COUNTRY variable. This code calls Net::Domain::hostfqdn(), which > means it will hang (or at least take a very long time) if the network > is inaccessible. Wouldn't it be better to delay se

URI::Heuristic: should it call hostfqdn() on loading?

2002-09-05 Thread Ed Avis
When you do 'use URI::Heuristic' it runs some code to set the $MY_COUNTRY variable. This code calls Net::Domain::hostfqdn(), which means it will hang (or at least take a very long time) if the network is inaccessible. Wouldn't it be better to delay setting this variable until the first time it i

Cookies again!

2002-09-05 Thread Jonathan Daigle
hi! i had set $cookies_file = HTTP::Cookies->new(); $ua->cookie_jar($cookies_file); $ua->request(get $url_page) shold this work? houw can i see if cookies hav been set in $cookies_file? printf $cookies_file; #returned HTTP::Cookies=HASH(0x8509bd0) printf $cookies_file[0] # returned an error p

Re: cookies

2002-09-05 Thread Keary Suska
on 9/5/02 11:19 AM, [EMAIL PROTECTED] purportedly said: > i am trying to post some information to a search page to retrive the > result. The problem is that to reach the search page i must first pass > by the "welcome page", if i directly go to the search page i am > redirected to the welcome pag

cookies

2002-09-05 Thread Jonathan Daigle
hi! i am trying to post some information to a search page to retrive the result. The problem is that to reach the search page i must first pass by the "welcome page", if i directly go to the search page i am redirected to the welcome page, its an tag that i take from the welcome page to go to th

HTTP::Cookies patch to handle domain=.foo.bar.com

2002-09-05 Thread Rob Nagler
Some web servers return domain=.foo.bar.com. HTTP::Cookies will miss these cookies for URLs of the form http://foo.bar.com The patch below fixes this problem. Rob P.S. Apologies if this has already been fixed. Base HTTP::Cookies::

Re: URI-1.22

2002-09-05 Thread claus . schotten
Gisle Aas <[EMAIL PROTECTED]> wrote: > > > You want to extend the new query_param() in some way? > > > > I was thinking about $u->query_param(';', foo => 0..3), ie. taking the > > first arg as the separator. But I'm not sure if this is actually better > > than the former suggestion at all. > >