Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: Insert newline

by vagabonding electron (Hermit)
on Sep 16, 2011 at 13:22 UTC ( #926412=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Insert newline
in thread Insert newline

Still testing (now after finding my kennword at last ...).

Your pattern works fine, it was my paw marks yesterday, not the ones of your cat.

I noted however that some lines are not matched - and the matter seem to be utf8 signs in the text after the item ID. How this could matter in this script - I do not understand yet. But if I delete these signs in the DATA snippet, the lines are matched then.

Since I am really a novice in perl I just made a workaround - loaded the file into the MS Word, substituted the signs and saved as a txt again. It ran ok then.

I am still testing because this is a really big file with many thousands table IDs and resp. a lot of items-ID.

Many thanks! VE


Comment on Re^4: Insert newline

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2014-09-20 00:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (151 votes), past polls