On Thu, Jul 25, 2013 at 2:15 PM, Christophe Martin
wrote:
> Hello,
>
> Le 24/07/13 20:29, Luca Ferrari a écrit :
>> On Wed, Jul 24, 2013 at 2:28 PM, Christophe Martin
>> wrote:
> The question remains. How can I get the name of a/the < name in @INC, not version/arch specific where I can install lo
Now I got it, from lwpcook it's this way:
Lazy people use the HTTP::Request::Common module to set up a suitable
POST request message (it handles all the escaping issues) and has a
suitable default for the content_type:
use HTTP::Request::Common qw(POST);
use LWP::UserAgent;
$ua = LWP::U
Hello,
Le 24/07/13 20:29, Luca Ferrari a écrit :
> On Wed, Jul 24, 2013 at 2:28 PM, Christophe Martin
> wrote:
>
>> Do all (or 95%) of perl installation have a site_perl dir ?
>
> I'll bet the answer is not. However, what would make sitelib so much
> important with regard to other @INC entries?
Do you mean HTTP::Request::Common will do the url_encode stuff
automatically? Thanks Charles.
On 2013-7-25 18:30, Charles DeRykus wrote:
On 7/25/2013 12:57 AM, Feng He wrote:
Would LWP::UserAgent call the url_encode() method from URL::Encode
automatically for the posted content?
use LWP:
On Wed, Jul 24, 2013 at 10:56 PM, Michael Brader
wrote:
>
> On 07/25/2013 10:14 AM, mimic...@gmail.com wrote:
>
> I was trying to use Date::Simple to convert date from DD-MM- to ISO
> standard -MM-DD, but it produced error below because it returned undef
> when the date passed is not ISO
On 7/25/2013 12:57 AM, Feng He wrote:
Would LWP::UserAgent call the url_encode() method from URL::Encode
automatically for the posted content?
use LWP::UserAgent;
$ua = LWP::UserAgent->new;
my $req = HTTP::Request->new(
POST => 'http://rt.cpan.org/Public/Dist/Display.html');
$re
Hi
Would LWP::UserAgent call the url_encode() method from URL::Encode
automatically for the posted content?
use LWP::UserAgent;
$ua = LWP::UserAgent->new;
my $req = HTTP::Request->new(
POST => 'http://rt.cpan.org/Public/Dist/Display.html');
$req->content_type('application/x-www