Re: unfamiler errors

2002-05-06 Thread drieux
On Monday, May 6, 2002, at 01:15 , Lance Prais wrote: [..] > > while( @row = $sth->fetchrow_array ) >{ >$oid=$row[0]; > > print TEXTFILE"$oid\n"; > > } [..] > Error message: > > > Global symbol "@row" requires explicit package

RE: unfamiler errors

2002-05-06 Thread Shah, Urmil
add 'my' in front of these variables.. my @row; my $oid; Urmil -Original Message- From: Lance Prais [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 3:15 PM To: [EMAIL PROTECTED] Subject: unfamiler errors I am using the following code to extract data from a db and

unfamiler errors

2002-05-06 Thread Lance Prais
I am using the following code to extract data from a db and write to a file and getting errors that I am not familiar with: Does anyone know what I am doing wrong? #!/usr/local/bin/perl #ENVIRONMENT VARIABLES $CUSTOM = "/data/verity/custom-kb"; $SERVICE= "xx