Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^2: Google Weather for dwm

by duelafn (Vicar)
on May 25, 2011 at 13:00 UTC ( #906646=note: print w/replies, xml ) Need Help??

in reply to Re: Google Weather for dwm
in thread Google Weather for dwm

I get same malformed character warning (Linux), presumably due to global nature of use encoding. Removing the use encoding line and instead adding binmode( STDOUT, ":encoding(UTF-8)" ); works for me.

Good Day,

Replies are listed 'Best First'.
Re^3: Google Weather for dwm
by xyzzy (Pilgrim) on May 25, 2011 at 18:34 UTC

    Ah, perfect. I never played around with unicode before but then I discovered that it has the skull and crossbones and the biohazard symbol and chess pieces and i ching and all sorts of other fun stuff.

    ww, echo under Unix prints to standard out (in this case to add an extra newline)

    $,=qq.\n.;print q.\/\/____\/.,q./\ \ / / \\.,q.    /_/__.,q..
    Happy, sober, smart: pick two.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2021-05-09 13:32 GMT
Find Nodes?
    Voting Booth?
    Perl 7 will be out ...

    Results (100 votes). Check out past polls.