Re: download a file protected with htaccess

2008-10-25 Thread Jeff Pang
2008/10/26 OXx <[EMAIL PROTECTED]>: > Hello all, > > I want to download a file protected with a htaccess. I saw the getstore > function with lwp:Simple module but authentification does not work. > I saw a code with lwp::useragent > use LWP::UserAgent; > $ua = LWP::UserAgent->new; > $req = HTTP::

download a file protected with htaccess

2008-10-25 Thread OXx
Hello all, I want to download a file protected with a htaccess. I saw the getstore function with lwp:Simple module but authentification does not work. I saw a code with lwp::useragent use LWP::UserAgent; $ua = LWP::UserAgent->new; $req = HTTP::Request->new(GET=> $url);$req->authorization_bas

Re: Perl equivalent of PHP globals?

2008-10-25 Thread Chas. Owens
On Fri, Oct 24, 2008 at 22:12, Kelly Jones <[EMAIL PROTECTED]> wrote: > How can I see all the local, global, etc Perl variables defined at a > given point in my program? snip Take a look at PadWalker*. * http://search.cpan.org/dist/PadWalker/PadWalker.pm -- Chas. Owens wonkden.net The most imp