On Tue, 27 Feb 2007, Adriano Ferreira wrote:
On 2/27/07, Jorge Almeida <[EMAIL PROTECTED]> wrote:
Let's say your data is in the file "data.pl". Then
my %hash = do "data.pl";
my $hash_ref = \%hash;
Great!
Thanks.
--
Jorge Almeida
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
On 2/27/07, Jorge Almeida <[EMAIL PROTECTED]> wrote:
I want to define a hash reference like this:
my $h={
a => 'a',
b => 'aa &&\
bbb',
};
(Note the string containing escaped newlines.)
Now, the point is that I have the block
a => 'a',