Phoenix.pm: New meeting place
Douglas E. Miles
doug.miles at bpxinternet.com
Thu Sep 2 10:35:49 CDT 1999
Shay Harding wrote:
>
> I'm game for a meeting. Been a while, but the new place is near my work
> anyway. When and what will we be doing?
I haven't gotten the day picked yet, but I'm thinking sometime next
week. As far as what we'll be doing, I was thinking of talking about
the Perl Conference, and Phoenix.pm business.
> As far as ideas... not sure. Did the web site thing I was hearing about
> ever take off? I thought I remembered someone mentioning having something
> online where people can submit snippets of useful code, and that sort of
> thing.
The web site issue is one of the main things I want to discuss.
> I saw a snippet of code I thought was useful so I'll post:
>
> @sorted_by_size =
> map { $_->[0] }
> sort { $a->[1] <=> $b->[1] }
> map { [$_, -s] }
> @files;
>
> This basically sorts a bunch of files by size but can be adapted to sort
> whatever you want. It is much more efficient than:
>
> @sorted_by_size = sort { -s $a <=> -s $b } @files;
>
> For a full explanation of the above go to:
>
--
Douglas Adams:
"I love deadlines. I like the whooshing sound they make as they fly by."
More information about the Phoenix-pm
mailing list