Hi all:
I have written a PERL script to parse information from a text file and attempting to store the results into an MS Access database. Note: I am able to 'pull' info from the database using the PERL script, but I get an error when I try to push data into it. I get the error "Can't modify non-lvalue subroutine call".

My code is as follow:

my $field = "fName";
$Conn = Win32::OLE->new("ADODB.Connection");
$RS = Win32::OLE->new("ADODB.Recordset");

$DSN = "PROVIDER=MSDASQL;DRIVER={Microsoft Access Driver (*.mdb)};
$RS->Open($table, $Conn, 1, 1);
$RS->Fields($field)->value = $FName;

If anyone has done any work using PERL and has experienced this problem, please share insight with me. As stated, I am able to pull data from the database using similar code.