Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^5: Skip lines until you find a delimiter >>

by Marshall (Canon)
on Mar 15, 2018 at 18:30 UTC ( [id://1210980]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Skip lines until you find a delimiter >>
in thread Skip lines until you find a delimiter >>

I suggest that you study this line:
my (@nums) = /,\s*(\d+)/g;
It could very well be that it takes you all day to come close to understanding what that does, but such is the nature of learning something that is both new and complicated.

The major failures in your posting(s): Incomplete/inadequate specification of the problem. And apparently a complete lack of effort on your part to learn from the Monk replies. This last part is the issue that is causing the most problems.

Your problem can be solved easily with a combination of a text editor and Excel. If you are not willing to put in the effort to learn Perl, then just ask a friend in the accounting department to whip out an answer with off-the-shelf software.

Update:
Ok, I don't want to torture you with something that is obvious to the average Monk. A simple way is:

my (@nums) = /,\s*([-\d]+)/g;
In the future, please understand that PerlMonks is about learning Perl.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2024-04-16 09:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found