[Israel.pm] require issue

Gabor Szabo szabgab at gmail.com
Wed Feb 28 05:50:03 PST 2007


try

our %hash

Gabor


On 2/25/07, Levenglick Dov-RM07994 <dovl at freescale.com> wrote:
> Hi,
> I have a main script that has 'use strict' enabled. In this script I
> define my %hash.  The I use eval{require "initialization_file.pl"}; to
> initialize %hash. When printing the hash keys I get a null string.
>
> Initalization_file.pl states:
> %hash = (a=>,A, b=>B);
>
>
> What is the problem (obviously a stupid one which I am overlooking)?
>
>
>
> Best Regards,
> Dov Levenglick
> DSP SoC System and Applications Engineer,
> Network and Computing Systems Group
> Freescale Semiconductor Israel
> Tel. +972-9-952-2804
> The information contained in this email is classified as:
> [ ] Freescale General Business Information
> [ ] Freescale Internal Use Only
> [ ] Freescale Confidential Proprietary
> [x] Personal Memorandum
>
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://perl.org.il/mailman/listinfo/perl
>


-- 
Gabor Szabo
http://www.szabgab.com/
Perl Training in Israel  http://www.pti.co.il/
08-975-2897   054-4624648



More information about the Perl mailing list