Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re (tilly) 1: Limit to Line Length?

by tilly (Archbishop)
on Jan 26, 2001 at 21:35 UTC ( [id://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...

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://54578]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-25 19:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found