Re: Modify program to write just data to a text file.

From: A. Sinan Unur (usa1_at_llenroc.ude.invalid)
Date: 10/27/04


Date: 27 Oct 2004 03:04:05 GMT

mortgageloan2004@aol.com (Mortgageloan2004) wrote in
news:20041026223539.28660.00001485@mb-m05.aol.com:

> This program, below, will create a database and write the fields and
> their values to a database, and email just the data or the data and
> the fieldnames. I want it it to do the following

Ahem ... so, you want us to violate the license for this code and do so in
public?

> ##########################################################
> # EZscripting.co.uk © 1999 - 2004 Copyright Darren Deans
...
> # The redistribution of modified versions of the scripts is
> # prohibited.
...

Oh, by the way, this is not a supermarket but a programmers' forum. We
are not in the business of writing canned scripts or fixing other people's
messes.

You might want to head on over to http://jobs.perl.org/ and look for
someone you can hire to do this work.

No

use strict;
use warnings;

Cargo cult CGI parsing ... Things like:

sub male {
        error($email_input_error) if length($_[1])>120 or
length($_[0])>120;

Oh, don't forget:

Global symbol "%DB" requires explicit package name at t.pl line 46.
Global symbol "%DB" requires explicit package name at t.pl line 47.
Global symbol "%DB" requires explicit package name at t.pl line 48.
Global symbol "%DB" requires explicit package name at t.pl line 49.
Global symbol "%ThankYou" requires explicit package name at t.pl line 53.
Global symbol "%ThankYou" requires explicit package name at t.pl line 54.
Global symbol "%ThankYou" requires explicit package name at t.pl line 55.
Global symbol "%ThankYou" requires explicit package name at t.pl line 56.
Global symbol "@date" requires explicit package name at t.pl line 71.
Global symbol "@date" requires explicit package name at t.pl line 72.
Global symbol "@date" requires explicit package name at t.pl line 73.
Global symbol "@date" requires explicit package name at t.pl line 74.
Global symbol "@date" requires explicit package name at t.pl line 74.
Global symbol "$date" requires explicit package name at t.pl line 75.
Global symbol "@date" requires explicit package name at t.pl line 75.
Global symbol "@date" requires explicit package name at t.pl line 75.

... many more snipped ...

Bareword "BorLawsuit" not allowed while "strict subs" in use at t.pl line
26.
Bareword "BorOblig" not allowed while "strict subs" in use at t.pl line 26.
Bareword "BorAlimony" not allowed while "strict subs" in use at t.pl line
26.
Bareword "BorBorrowed" not allowed while "strict subs" in use at t.pl line
26.
Bareword "BorCoMake" not allowed while "strict subs" in use at t.pl line
26.
Bareword "BorCitizen" not allowed while "strict subs" in use at t.pl line
26.
Bareword "BorAlien" not allowed while "strict subs" in use at t.pl line 26.
Bareword "BorPrimary" not allowed while "strict subs" in use at t.pl line
26.
Bareword "BorOwnership" not allowed while "strict subs" in use at t.pl line
26.
Bareword "OtherMonthlyPayments" not allowed while "strict subs" in use at
t.pl line 26.
Bareword "MonthlyBalances" not allowed while "strict subs" in use at t.pl
line 26.
Bareword "BorBaseInc" not allowed while "strict subs" in use at t.pl line
32.
Bareword "email" not allowed while "strict subs" in use at t.pl line 33.
t.pl had compilation errors.



Relevant Pages

  • Re: Can anyone program perl and fix a script?
    ... (Missing operator before packets?) ... Global symbol "$tmp" requires explicit package name at ./natview line 14. ...
    (alt.os.linux)
  • Use Strict Question
    ... Global symbol "$OrderFile" requires explicit package name at theta.pl ... Global symbol "$referer" requires explicit package name at theta.pl ... Global symbol "@odate" requires explicit package name at theta.pl line ...
    (perl.beginners)
  • Re: First Perl/CGI need critique on current code before further developement
    ... The errors in this script are _pervasive_. ... with future reserved word at webcounter.pl line 12. ... Global symbol "$slash" requires explicit package name at webcounter.pl line ...
    (comp.lang.perl.misc)
  • Re: Lost here.. Use of uninitialized value in print?
    ... Global symbol "@files1to5" requires explicit package name at D:\My ... Global symbol "$list1" requires explicit package name at D:\My ... Global symbol "$selectitem" requires explicit package name at D:\My ...
    (perl.beginners)