Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: store rest of the lines in a array after a matching pattern is found

by AnomalousMonk (Archbishop)
on May 17, 2018 at 19:07 UTC ( [id://1214780]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "my $str = 'ServiceCategoryName=(3,1,0,1,1,0)';
    ...
       }
    "
    Unmatched ( in regex; marked by <-- HERE in m/^ServiceCategoryName=( <
    +-- HERE .*/ at -e line 1.
    
  2. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "my $str= 'ServiceCategoryName=(3,1,0,1,1,0)';
    ...
    "
    parenthesized substring: '3,1,0,1,1,0'
    first split element: '3'
    

Log In?
Username:
Password:

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

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

    No recent polls found