Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^8: UTF8 issue when getting website via LWP::UserAgent in Perl

by runrig (Abbot)
on May 12, 2016 at 15:58 UTC ( #1162878=note: print w/replies, xml ) Need Help??


in reply to Re^7: UTF8 issue when getting website via LWP::UserAgent in Perl
in thread UTF8 issue when getting website via LWP::UserAgent in Perl

Did you know you're not checking the status of the connect or the prepare? And if you turn on RaiseError in the connect, you'll automatically check all DBI methods, and you won't even need the 'or die' on the execute.
  • Comment on Re^8: UTF8 issue when getting website via LWP::UserAgent in Perl

Replies are listed 'Best First'.
Re^9: UTF8 issue when getting website via LWP::UserAgent in Perl
by ultranerds (Friar) on May 12, 2016 at 15:59 UTC
    That was just a very quick example I put together, to test the theory about how the data ended up in the table :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1162878]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2019-04-21 08:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I am most likely to install a new module from CPAN if:
















    Results (110 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!