[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Multiple Sub bug? (was: Getting closer...but still no cigar)
Ah ha!
The subroutine is not being recognized:
[22/October/1999:09:51:47 -0700] test /cgi-bin/test/process Undefined perl sub
calc_item
So, this looks to be the "multiple subs" problem (bug?).
Anyone have a solution?
I have two subs the first one starting with:
Sub <<EOF
sub form_mail {
and ending with:
}
EOF
The second one starting with:
Sub <<EOG
sub calc_item {
and ending with
}
EOG
This breaks *both* subroutines.
What is the proper way (if any) to do multiple Subs? Must I disable Global Sub?
--
------------------------------------------------------------------------
Brian Knotts bknotts@europa.com
Webmaster/Developer/Portland SysAdmin (503) 222-9508
Europa/NWLink Fax: (503) 796-9134