Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: string diff and compare

by tobyink (Abbot)
on May 05, 2012 at 07:17 UTC ( #969018=note: print w/replies, xml ) Need Help??


in reply to Re^3: string diff and compare
in thread string diff and compare

There are other ways of enforcing scalar context which are a lot more fun. :-)

use 5.010; use strict; use warnings all => 'FATAL'; my ( $old, $new ) = qw( old new ); my ( $rold, $rnew ) = map~~reverse, $old, $new; say for "$old => $rold", "$new => $rnew";
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://969018]
help
Chatterbox?
[Discipulus]: but i read in limitations: Cookies are not directly supported..
[Corion]: 1nickt: Oh - indeed! HTTP::Tiny is somewhat closer to WWW::Mechanize than I thought, thank you!
[Corion]: Discipulus: Yes, but it seems to have handling in place to tell a cookie jar to extract cookies from responses and add them to other requests, which is what's needed
Discipulus must give a try to this module anyway..
[Discipulus]: so, combined with HTTP::CookieJar ?

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2017-05-23 18:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?