[7443] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 1068 Volume: 8

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Sep 24 01:07:55 1997

Date: Tue, 23 Sep 97 22:00:17 -0700
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Tue, 23 Sep 1997     Volume: 8 Number: 1068

Today's topics:
     Re: Array or Hash? (Tad McClellan)
     Call for bids--CGI programming wanted for nonprofit sit (Cliff Landesman)
     Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Tue, 23 Sep 1997 22:19:32 -0500
From: tadmc@flash.net (Tad McClellan)
Subject: Re: Array or Hash?
Message-Id: <4s0a06.1k6.ln@localhost>

Andy Smith (asmith@hsonline.net) wrote:
: Why is perl trying to make a hash out of @services? 

: Is there something i
: need to do 


Yes.

You need to post your real code.

The below has more than a couple syntax errors.

It won't run with syntax errors, so I'm wondering what makes
you think that perl is making a hash out of it.

Perl won't do much of anything with broken syntax.


Post a program that will run, and someone will likely try and help you.


: to make it see the variable as an array instead?

: --------------------

: @services={"witha","smile","anda","one","two",};
: open(AFILE ">afile")
            ^         ^  missing comma
                         missing semicolon

[ you should be checking the return value too ]

: $n=0;
: while($n<5)
: {print AFILE {$services[$n]};
  ^            ^             ^  unbalanced curly braces
: ++$n
: --------------------


--
    Tad McClellan                          SGML Consulting
    tadmc@flash.net                        Perl programming
    Fort Worth, Texas


------------------------------

Date: Wed, 24 Sep 1997 06:16:36 GMT
From: cland@netbox.com (Cliff Landesman)
Subject: Call for bids--CGI programming wanted for nonprofit site
Message-Id: <60a1n8$jm2$2@maceo.dti.net>

This is a call for bids to program the back end of a web site. The
contract is  to provide the database and CGI programming necessary to
add functionality to a set of already existing html pages. The best
way to see the nature of the project is to review the site:

http://www.nonprofits.org/library/gov/990/

The site will model for the first time an interactive online system
that will allow nonprofit organizations to report their activities to
government agencies. Over 300,000 organizations now perform this kind
of reporting to the IRS--on paper--every year. Many organizations are
also required to report annually to state agencies. The aim of the
site is to increase the efficiency of processing these forms and
enhance public access to the reported information. The site will be
the basis for actual reporting to a small number of state agencies and
a model to show to the IRS for possible adoption. Much of the work
surrounding this site, especially project management, has been carried
out by volunteers.

The specific tasks involved are:

1) Creation of database tables for receiving the data.
2) CGI scripting for inputting data from the html forms into the
database tables.
3) CGI scripting to allow retrieval of data from the database and
inserting into template html pages, thereby recreating the original
submitted form.
4) Securing database access using passwords.
5) CGI scripting for downloading all new entries to the database via
an ascii character delimited database file.

There are 14 main pages with data fields, 4 supplemental data pages
and 5 short pages with less than 5 data fields each. The number of
fields is large, but the scripting is made easier by the fact that
input names are consecutive.

We will review an initial draft, comment, review a second draft,
comment, then expect a delivered product.

The project must be completed by December 1, 1997. A first draft is
expect by November 1. We will award the contract by the end of
September.

The platform, web server, database, and language constraints may be
negotiated, but the preferred arrangement would be: 

unix operating system
Apache web server
miniSQL database
Perl CGI or W3-mSQL

Possible alternatives would be 1) NT, NCSA web server, Microsoft SQL,
with or without perl or 2) Win95, O'Reilly's Web Site web server and
associated database engine, with or without perl. Java CGI may be
acceptable. However, the unix platform option is favored. The mSQL
database engine is well documented and has an active associated email
list. 

The contract does NOT include housing or maintaining the site. It does
not include any data entry error checking. The programmers will have
free access to a unix shell account where they may design and test the
database and CGI code. 

The programmers will receive prominent public recognition on the site
with a link to their home page. 

Please send bids or inquiries via email to me at:

cland@netbox.com

--Cliff Landesman

Internet NonProfit Center       Information ABOUT nonprofits
http://www.nonprofits.org






------------------------------

Date: 8 Mar 97 21:33:47 GMT (Last modified)
From: Perl-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 8 Mar 97)
Message-Id: <null>


Administrivia:

The Perl-Users Digest is a retransmission of the USENET newsgroup
comp.lang.perl.misc.  For subscription or unsubscription requests, send
the single line:

	subscribe perl-users
or:
	unsubscribe perl-users

to almanac@ruby.oce.orst.edu.  

To submit articles to comp.lang.perl.misc (and this Digest), send your
article to perl-users@ruby.oce.orst.edu.

To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.

To request back copies (available for a week or so), send your request
to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
where x is the volume number and y is the issue number.

The Meta-FAQ, an article containing information about the FAQ, is
available by requesting "send perl-users meta-faq". The real FAQ, as it
appeared last in the newsgroup, can be retrieved with the request "send
perl-users FAQ". Due to their sizes, neither the Meta-FAQ nor the FAQ
are included in the digest.

The "mini-FAQ", which is an updated version of the Meta-FAQ, is
available by requesting "send perl-users mini-faq". It appears twice
weekly in the group, but is not distributed in the digest.

For other requests pertaining to the digest, send mail to
perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
sending perl questions to the -request address, I don't have time to
answer them even if I did know the answer.


------------------------------
End of Perl-Users Digest V8 Issue 1068
**************************************

home help back first fref pref prev next nref lref last post