http://www.perlmonks.org?node_id=906646


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,
    Dean

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.