can a tree structure be "locked" in perl??

can a tree structure be "locked" in perl??

am 10.07.2007 13:05:15 von ukhas jean

--===============1975911628==
Content-Type: multipart/alternative; boundary="0-1112440870-1184065515=:12251"
Content-Transfer-Encoding: 7bit

--0-1112440870-1184065515=:12251
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,=20
I have the following structure which needs to be locked, so that no oth=
er users in the website can change it, other than the current user-himsel=
f.
=20
parent1
|
|----> child1
|
|----> child2
|
|----> child3

=20
child1, child2 and child3 needs to be locked only when parent1 is locke=
d.
There are no grand-child nodes. How can I achieve this in perl???
=20
regards,
Raghu
ICICI Team Lead.

=20
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo! F=
areChase.
--0-1112440870-1184065515=:12251
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,
I have the following structure which needs to be lo=
cked, so that no other users in the website can change it, other than the=
current user-himself.
 
parent1
  |=

  |----> child1
  |
  |----> child2
&nb=
sp; |
  |----> child3
 
child=
1, child2 and child3 needs to be locked only when parent1 is locked. >
There are no grand-child nodes. How can I achieve this in perl???=
 
regards,
Raghu
IC=
ICI Team Lead.



Looking for a deal? evt=3D47094/*http://farechase.yahoo.com/;_ylc=3DX3oDMTFicDJo NDllBF9TAzk3N=
DA3NTg5BHBvcwMxMwRzZWMDZ3JvdXBzBHNsawNlbWFpbC1uY20-">Find great prices on=
flights and hotels
with Yahoo! FareChase.
--0-1112440870-1184065515=:12251--

--===============1975911628==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============1975911628==--

Re: can a tree structure be "locked" in perl??

am 10.07.2007 13:45:21 von n.haigh

Quoting ukhas jean :

> Hi,
> I have the following structure which needs to be locked, so that no other users in the website can change it, other than the current
> user-himself.
>
> parent1
> |
> |----> child1
> |
> |----> child2
> |
> |----> child3
>
>
> child1, child2 and child3 needs to be locked only when parent1 is locked.
> There are no grand-child nodes. How can I achieve this in perl???
>
> regards,
> Raghu
> ICICI Team Lead.
>
>
> ---------------------------------
> Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.



Do you mean this is a directory structure on the filesystem? If so, what filesystem are you working on? Also, by what means are "other users" able to
"modify" this structure? Is it users logging in to the server or users running the same script from a website which in turn is accessing the
"structure" you describe? I.e. several users are accessing/modifying the "structure" via a cgi script but you don't want several users being able to
modify the "structure" in case changes are lost?

A few more details would be helpful.
Nath
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs