Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Need to return the first occurance of a search

by pvaldes (Chaplain)
on Apr 18, 2013 at 15:19 UTC ( #1029377=note: print w/ replies, xml ) Need Help??


in reply to Need to return the first occurance of a search

hum, can't see the point on cloning the red hat package manager

I'll suggest simply to use system("rpm ...") for this

And please, note that this is not a "first occurrence's problem", it is a "categorizing packages" problem. You want to print the parent (upper node of the tree) package, not the first package that match the regex


Comment on Re: Need to return the first occurance of a search

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2014-12-19 00:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (69 votes), past polls