Control structures

2005-01-21 Thread Mark Martin
Hi , I'm getting confused as to whether I need a last, next, redo or all of the above : foreach $file_item ( @file_items ) { ($file_item_code,$file_item_description) = split /,/,$file_item ; $count ++; $sth->execute($file_item_code); while ( @fetch = $sth->fetchrow ) {

problems parsing web form information into a perl script

2004-03-03 Thread Mark Martin
Hi, I've got a web form that allows a user to browse to an excel file on their computer and input it and the year as parameters to run a perl script FORM : SCRIPT: use CGI; use Spreadsheet::ParseExcel; $q=new CGI; my $oExcel = new Spreadsheet::ParseExcel; my $user_ssheet=$q->param('file');