On Wed, May 19, 2010 at 4:09 PM, demerphq <demerphq@gmail.com> wrote: > On 19 May 2010 18:11, Tom Christiansen <tchrist@perl.com> wrote: > >>>> Only nit is i think covered by the -E option which implies a use > LATEST; > >>>> right? > > > >>> hum, neither perlrun nor feature mention the problem with backwards > >>> compatibility of using -E. Maybe something like the following (but I'm > not > >>> fully awake yet): > > > >>> Since L<feature> is used to introduce features that are not backwards > >>> compatible, using C<< -E'...' >> instead of C<< -e'use 5.014; ...' >> > may > >>> result in broken code when Perl is upgraded. > > > >> One wonders if we should mention that using one liners in production > >> is not recommended? > > > > It's not?? > > Anyone who has written a book on Perl is excepted from this rule. > I don't have any books to my cred, and I use one-liners in batch and bash scripts.Thread Previous | Thread Next