Hello
The easiest way to do this is using hash slices. Let me explain.
my %hash = (); # creates an empty hash
$hash{name} = 'Aziz';# set the name
$hash{id} = 512; #set the id
$hash{bdate} = '12/3/1976/'; #set the bdate
or, you can do this:
%hash = (name => 'Aziz', id => 5
In reply-to Michael Fowler <[EMAIL PROTECTED]> on Mon Jul 9 13:06:42 2001
>On Mon, Jul 09, 2001 at 12:26:48PM +0100, [EMAIL PROTECTED] wrote:
>> I have a text file produced by another system. The fields are semi-colon
>> delimited, and the first line is a list of the fields, a header record,
>>
On Mon, Jul 09, 2001 at 12:26:48PM +0100, [EMAIL PROTECTED] wrote:
> I have a text file produced by another system. The fields are semi-colon
> delimited, and the first line is a list of the fields, a header record,
> also semi-colon delimited.
You should investigate DBD::CSV. It has options fo
Tip request...
I have a text file produced by another system. The fields are semi-colon delimited,
and the first line is a list of the fields, a header record, also semi-colon delimited.
The trick with this file is that each time the file is produced, the fields are not
necessarily in the sa