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

Re: Newbie to PERL removing text from array

by ansh batra (Friar)
on Feb 14, 2012 at 12:09 UTC ( [id://953690]=note: print w/replies, xml ) Need Help??


in reply to Newbie to PERL removing text from array

dude seems like your requirement is not generalized(specific).
you are filtering the numbers after first whitespace
then in the second string you are taking alphabet 'a' also.
and you are not taking the number after "Yes"
generalize your problem and try to use regular expression to solve it.
  • Comment on Re: Newbie to PERL removing text from array

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-19 22:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found