[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [OSSTEST PATCH RFC v1 08/12] ts-xen-install: install Xen with XSM support if requested
On Wed, Sep 24, 2014 at 11:41:34AM +0100, Ian Campbell wrote: > On Mon, 2014-09-22 at 15:11 +0100, Wei Liu wrote: > > + 'find /boot -name \'xenpolicy-*\' -exec basename {} \;'); > > (stray tabs) > > > + # there should only be one xenpolicy file for a clean install > > + my $c = () = $flaskpolicy =~ /xenpolicy/g; > > I'm curious, what does that () do? > This is called "empty parentheses" idiom. It's used to force list context on an expression, and yet return a scalar: the count of items in that list. http://www.perlmonks.org/?node_id=527973 > Does the grub patch thing work on arm (where I'm not sure if grub will > be there or not)? > No. AIUI arm doesn't use grub, does it? Wei. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |