From: Evan Broder Date: Thu, 27 May 2010 15:58:35 +0000 (-0400) Subject: Use the .. Perl operator to simplify prerms. X-Git-Tag: 0.2.14~1 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-console.git/commitdiff_plain/8425261815b87bb395a57ff1c5dd731788ae7a51?hp=8425261815b87bb395a57ff1c5dd731788ae7a51 Use the .. Perl operator to simplify prerms. invirt-console-host, invirt-dev, and all of the packages in xvm-munin-config previously used a convoluted one-liner to clean up /etc/sudoers, but we can do it much more easily using the .. operator. Taken from http://blog.ksplice.com/2010/05/top-10-perl-one-liner-tricks/ svn path=/trunk/packages/invirt-console/; revision=3011 ---