Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2017-04-25 21:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (465 votes). Check out past polls.