my %o; open my $in, "file.properties" or die $!; while(<$in>) { $o{$1}=$2 while m/(\S+)=(\S+)/g; print "$1 and $2"; } close $in;
In reply to Re: Perl script accessing a properties file
by rajeshatbuzz
in thread Perl script accessing a properties file
by monk monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |