in reply to Re: Can someone explain this error?
in thread Can someone explain this error?
This basically trying to take the first two keys out of a hash and pass a few of the values from the specified key into another routine. I can include the two routines that are called as well if you would like.@key_array = keys %pers_dcr_files; my(@graphic) = (); my(@url) = (); for ($i=0; $i<2; $i++) { $key = $key_array[$i]; $graphic[$i] = $pers_dcr_files{$key}{SmallGraphic}; $url[$i] = $pers_dcr_files{$key}{LinkURL}; if (("$graphic[$i]" ne "") && ("$url[$i]" eq "")) { $name = generate_link_name($pers_dcr_files{$key}{RightNavL +aunchDate}, $pers_dcr_files{$key}{RightNavExpirationDate}, 'p', $pers +_dcr_files{$key}{PromotionName}); $url[$i] = generate_url_path($name); } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Can someone explain this error?
by arturo (Vicar) on May 22, 2001 at 01:17 UTC | |
by wstarrs (Acolyte) on May 22, 2001 at 01:22 UTC | |
by tilly (Archbishop) on May 22, 2001 at 01:28 UTC |