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

Re (tilly) 1: Limit to Line Length?

by tilly (Archbishop)
on Jan 26, 2001 at 21:35 UTC ( #54578=note: print w/ replies, xml ) Need Help??


in reply to Limit to Line Length?

There should be no limit to the length of a line.

OTOH there are a lot of subtle ways that file locking can go wrong, and most of the time when I see people offering advice on how to do it they get it wrong. Therefore, your confidence notwithstanding, I would suspect the locking routines.

For a discussion of what can go wrong, see RE: RE: Flock Subroutine or Don't use unflock (flock 8). Ever.. See Simple Locking for a reasonably good example of how to do it.

Incidentally if you can, I would suggest moving this to a database...


Comment on Re (tilly) 1: Limit to Line Length?
Replies are listed 'Best First'.
Kozz Re: Re (tilly) 1: Limit to Line Length?
by Kozz (Friar) on Jan 26, 2001 at 22:22 UTC
    Incidentally if you can, I would suggest moving this to a database...
    Yep. That's very good advice. At the time in which I put the scripts together, I had no knowledge of databases. Now that I've got some books, read up, and have had moderate experience with them, I'm prepared to move it to a true database. I need only to pray for a visit from the magic free-time fairy, and I can convert things over. ;) Thanks again for your advice.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (13)
As of 2015-07-07 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls