40 users online (1 members and 39 guests)  


  Results 1 to 4 of 4

Related

  1. Replies: 1
  2. Replies: 1
  3. Table locking?    Forum: HTML Forum
    Replies: 3
  1. #1
    Slava's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2001
    Location
    Spb,Russia
    Posts
    2

    Post Locking files in Perl/CGI

    Hi,

    I'd like to know whether I should use 'lock()' function when I use construction dbopen(%hash, DataBase,0666) under multi-tasking enviroment ?? Or Perl's engine does it by itself ??

  2. #2
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Post

    I am still learning about perl, give me some time and I will find an answer for you.

    Dave

  3. #3
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Post

    I talked with Enigma from The Cult Forums She is always a big help when it comes to perl.

    Yes you would need to use some kind of locking. For more information you may find this link helpful http://www.perl.com/pub/doc/manual/html/lib/DB_File.html

    Dave

    [This message has been edited by Dave (edited 01-17-2001).]

  4. #4
    Slava's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2001
    Location
    Spb,Russia
    Posts
    2

    Post

    Thanx Dave, I followed your link and found some usefulinfo. But, in that example is shown using of DB_File structure. I meant using general Perl's DBM file.I've never seen an example of using lock () in DBM file.
    I'll try to contact with ENIGMA abt this metter



Tags for this Thread