Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: splitting lspci output

by Paladin (Priest)
on May 17, 2006 at 22:58 UTC ( #550120=note: print w/replies, xml ) Need Help??


in reply to splitting lspci output

From perldoc -f split:

If LIMIT is specified and positive, it represents the maximum number of fields the EXPR will be split into

So if you want to split it into just 2 fields, you give that as the limit

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://550120]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2018-06-24 11:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?