Khairul Azmi wrote:
Hi,
Hello,
I am working on a function that would simple store value assignments
statement into an array. The statement is stored in a text file. The
contains of the file would be
---
var word1 one,two,three
var word2 four,five,six
---
So I write a function that
On Fri, 17 Dec 2004 15:23:35 +0800, Khairul Azmi <[EMAIL PROTECTED]> wrote:
Hi, start your script with:
#!/usr/bin/perl -w
use strict;
> sub get_conf {
> my $local_file = $_[0];
> my @local_conf;
local_conf is an array. An assosiative array in Perl, is called a hash.
You declear it with
Hi,
I am working on a function that would simple store value assignments
statement into an array. The statement is stored in a text file. The
contains of the file would be
---
var word1 one,two,three
var word2 four,five,six
---
So I write a function that would read the file and r