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

-E behavior with stdin script

by almr (Acolyte)
on Sep 05, 2021 at 07:04 UTC ( #11136455=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -Mv5.12 -wn -- - /etc/passwd <<'EOF'
    next unless / ([^:]*) : [^:]* : ([0-9]+) /x;
    my ($w, $n) = (uc $1, 5000 + $2);
    say qq{log=$w id=$n}
    EOF
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11136455]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2022-05-16 08:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (62 votes). Check out past polls.

    Notices?