[geeks] One of these days....

R. Lonstein rlonstein at pobox.com
Tue Apr 16 08:28:36 CDT 2002


On Mon, Apr 15, 2002 at 09:44:47PM -0400, alex j avriette wrote:
> >($temper,$dummy,$dummy,$windsp,$dummy, $dummy,
> >$direction,$dummy,$dummy,$dummy,$dummy,$dummy) = split(/ /,$_);
> 
> hm, yeah. this is perls fault.

Lighten up. It's not perfect but maybe he doesn't know the idioms. No
one starts out knowing everything but you can get a lot done in Perl
with just a little knowledge.

This is better...
    ($temper,$windsp,$direction) = (split(/ /,$_))[0,3,6];

- Ross



More information about the geeks mailing list