Help -- I'm getting the following compile error:
Can't declare scalar assignment in my at /big/dom/xlibertylearning/cgi-bin/reader_writer.cgi line 12, near ");"
The offending code is ...
#!/usr/bin/perl -w
use strict;
use DB_File; # module for Berkeley DBM w/ DB_HASH file type
use Fcntl; # to help with file handling


# Declare and assign 'header' variables
my ($file_to_read = "subj.tab",
        $file_to_write = "subj",
        $course_name = "subj",
        $course_quarter = "1",
        $course_level = "1",
        $course_max = "5"
        );
...
I've been staring at it for an hour and am drawing a blank.

Reply via email to