[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [OSSTEST] ms-planner: add a flight summary html report



Ian Campbell writes ("Re: [OSSTEST] ms-planner: add a flight summary html 
report"):
> On Wed, 2014-04-30 at 17:21 +0100, Ian Jackson wrote:
> > Hrm, it turns out that some time in the last decade it became possible
> > to write local lexical subroutines that aren't coderefs.  So try
> >   sub sortkey { ... }
> > just before the sort.

These lexical subroutines don't work properly anyway.  I knew there
was a reason I didn't do that.  Forget about that.  What I meant the
first time was something like

   my $jsortkey = sub { $inf->{Jobs}{$_[0]}->{Start}->{Time}; };
   foreach my $job (sort { $jsortkey->($a) cmp $jsortkey->(b) } keys ...

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.