Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^5: awk like question in perl

by davido (Cardinal)
on Aug 12, 2004 at 20:45 UTC ( #382458=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while ( my $line = <DATA> ) {
        my ( $second, $sixth ) = ( split //, $line )[1,5];
        print $second, $sixth, "\n";
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2023-12-10 20:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (41 votes). Check out past polls.

    Notices?