Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Permanent <>

by mirod (Canon)
on Mar 08, 2012 at 18:01 UTC ( #958508=note: print w/replies, xml ) Need Help??


in reply to Permanent <<use feature ":5.10";>>

Use -E instead of -e:

ls -l | perl -anE 'say "@F[5..7]"'

From man perlrun:

-E commandline
            behaves just like -e, except that it implicitly enables all optional features (in the main compilation unit). See feature.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://958508]
help
Chatterbox?
Discipulus i'm doing an hard work to convince hime to not leave perl nor pm... many direct mails too
[marto]: who?
[Eily]: "hime"? The perl princess?
[Discipulus]: oops !

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2017-06-23 09:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (539 votes). Check out past polls.