Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^4: Does problem is in the for loop???

by afoken (Chancellor)
on May 11, 2015 at 10:21 UTC ( [id://1126293]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >perl -E "open IN,'<','/etc/group'; open OUT,'>','/tmp/foo'; while (<I
    +N>) { print OUT if /adm/; } close OUT; close IN;"
    >cat /tmp/foo
    sys:x:3:root,bin,adm
    adm:x:4:root,adm,daemon
    disk:x:6:root,adm
    >
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1126293]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-12-14 01:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which IDE have you been most impressed by?













    Results (70 votes). Check out past polls.