Hi!

I have a hash related question. Thanks in advance for your assistance!

I have quite a large number of values in a hash:

$errs->{ err_main_notfound } = "file not found. check config.";
$errs->{ err_main_perms } = "no permissions, check docs".;
$errs->{ err_main_unknown } = "unknown error occured.";

Now I would like to remove the _main part of the hash keys, so I would get:
$errs->{ err_notfound } = "file not found. check config.";
$errs->{ err_perms } = "no permissions, check docs".;
$errs->{ err_unknown } = "unknown error occured.";

How can I accomplish this using some perl statements?

Thanks and kind regards,

gerard

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to