in reply to Re: Re: Item Identification in XML Files
in thread Item Identification in XML Files

Why do you insist on re-assigning numbers? Do you have a limited supply of them ;--)

  • Comment on Re: Re: Re: Item Identification in XML Files

Replies are listed 'Best First'.
•Re: Re: Re: Re: Item Identification in XML Files
by merlyn (Sage) on Apr 30, 2003 at 09:23 UTC

      Exactly. Wouldn't it also take up more memory?

Re: Re: Re: Re: Item Identification in XML Files
by Anonymous Monk on Apr 30, 2003 at 09:53 UTC

    hi, I'll probably end up doing it this way. just one more question -- what do you think is the best way to store the identification numbers? should I just store the current max assigned number in a file? any other ideas? thanks.

      Data::UUID looks like something you could use (disclaimer, I have never used it myself). File locking can be tricky, so, if you decide to write the code yourself, do a little homework before, like searching here for "file locking", I like RE: File Locking for example.