On Wednesday 12 May 2010, HACKER Nora wrote:
> Thanks for your explanation and the reference to perldoc, I understand now. 
> But it doesn't work yet, I still get the same error. I have altered my source 
> now as follows:
> 
> my %stp_dirs = ( "mvb" => "\%mvb_dirs",
>                                         "pkv" => "\%pkv_dirs",
>                                         "av" => "\%av_dirs",
>                                         "be" => "\%be_dirs",
>                                         "vvw" => "\%vvw_dirs" );

Remove the quotes. When you put something around quotes, you're telling it's a 
string and a reference is not a string as you know.

-- 
Regards,
Akhthar Parvez K
http://Tips.SysAdminGUIDE.COM
UNIX is basically a simple operating system, but you have to be a genius to 
understand the simplicity - Dennie Richie

Reply via email to