Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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?
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 perusing the Monastery: (7)
As of 2014-07-12 11:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (239 votes), past polls