Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Pattern matching

by hippo (Bishop)
on Nov 10, 2018 at 09:37 UTC ( [id://1225527]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Pattern matching
in thread Pattern matching

Unfortunately, what you have provided now is still not a complete spec. You might want any of these things:

  • Just process the first line of the file.
  • Just process the first line which has a bracket.
  • Process every line which starts with an M.
  • Process every line which starts with an M and contains a bracket.
  • ...

So, your first task is to create a tight specification. After that you can devise an algorithm and only then start to consider the coding.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-25 23:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found