Mallik wrote:
Hi,
Hello,
I have a below hash (printed using Dumper).
$VAR1 = {
'Technologies':'Optical':'Dense Wavelength Division Multiplexing
(DWDM)'
};
$VAR2 = {
'typeInfoSortKey' => '',
'mdfName' => 'Linear with Optical Add/Drop Multiplexing (OADM)
Hello Mallik,
you asked:
> I want to accomplish some thing like this...
>
> %hash = (
> "abc" => "mallik",
> "xyz" => "arjun",
> "mno" => "priya"
> );
>
> Need be changed to
>
> %hash = (
> "123" => "mallik",
> "243" => "arjun",
> "532" => "priya"
> );
>
> The key valu
be changed to
>
> %hash = (
> "123" => "mallik",
> "243" => "arjun",
> "532" => "priya"
> );
>
> The key value abc is changed to 123 and so on..
>
> Hope my requirements are clear now.
>
m: Thomas Bätzler [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 08, 2005 11:50 AM
To: 'beginners@perl.org'
Cc: 'Mallik'
Subject: RE: How to change the value of a Hash Key
Mallik <[EMAIL PROTECTED]> asked:
> I have a below hash (printed using Dumper).
[...]
> Her
Mallik <[EMAIL PROTECTED]> asked:
> I have a below hash (printed using Dumper).
[...]
> Here, the key is 'Technologies':'Optical':'Dense Wavelength
> Division Multiplexing (DWDM)'.
>
> Now, I want to replace it with something like 'abc'.
>
> Any pointers on this?
Did you mean something like th