Hi ,
I have a script which reads from flat file and stores data in  a
variable in the form of hash.


code
-------------
foreach $cluster ( @{$schedules->{$DAY->[friday]}->{STRUCT}} )
-------------

from $cluster i have to extract cluster number and version. How can i do
that ??

flat file looks like below
-----------------------------
( Friday ""
    (
        ( Cluster "XX"  )
        ( Version "3.1" )
    )
    (
        ( Cluster "YYYYY" )
        ( Version "4.0"   )
    )
)
---------------------------

Output is like below.
-----------------
extract is HASH(0x4033d910)  << From this 2 values are to be retrived .
upload cluster     version is clver
----------------


Thanks  in advance
Arjun
If we can imagine a future, we can create it.
If we can create that future, others will live in it.






Confidentiality Notice

The information contained in this electronic message and any attachments to 
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or 
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

Reply via email to