Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

mothra (1667)

mothra
  (email not shown publicly)

Journal of mothra (1667)

Thursday May 02, 2002
09:36 AM

mothra vs. Win32::GUI

[ #4606 ]
I love getting the chance to use for()'s on scalars when they make sense. For example, it was nice to be able to do this:

    for ($wind_dir) {
        s/north/N/ig;
        s/south/S/ig;
        s/west/W/ig;
        s/east/E/ig;
    }

in my tooltip weather reporting program. Oh, the little things...

Two problems yet remain though:

  1. A non-wheel-reinvention compliant and intelligent way of converting the UTC time of the report to the local time of the weather station whose report is being viewed. By "intelligent" I simply mean I don't want the user to even notice that I magically converted UTC to their local time; it should just Do The Right Thing.
  2. Making a system-tray-icon-only application out of it all, whose tooltip is -- wouldn't you know -- the current weather.

Win32::GUI isn't the easiest thing in the world when you're unfamiliar with it.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.