You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Philip M. Gollucci" <ph...@p6m7g8.com> on 2003/03/04 19:49:31 UTC
Fwd: Source Code Oraginzation
from Stas advice, I'm forwarding this here, sans the crosspostings.
Thanks for the help.
---------- Forwarded Message ----------
Subject: Source Code Oraginzation
Date: Tue, 4 Mar 2003 15:58:38 +0000
From: "Philip M. Gollucci" <ph...@p6m7g8.com>
To: dev@perl.apache.org, advocacy@perl.apache.org
I need good reasons why to do the following
/cgi-bin
*.pm
*.plex files (PerlEX)
*.cgi files
_no subdirectories_
VS
/cgi-bin
*.plex
*.cgi
packages/AMS/
some *.pm files
more directories with other *.pm files
OOP approach
Not quite sure where this one goes, but I know everyone here are more then
qualified to answer this.
I recently took shit for doing this, and I know at the _very_ least this
is correctly from a security standpoint as now _ALL_ our code is out of
web space. I need other good reasons as well, other then for organization.
Also, documenting where a function is located ?
I like the namespace prefix
package HomeScreens;
....
@EXPORT = (
hs_*
)
sub hs_* {
}
sub not_exported_func { }
VS
Export nothing
and use &HomeScreens::hs_*();
I'd like to hear agruments for and against.
END
-----------------------------------------------------------------------------
- Philip M. Gollucci philip@p6m7g8.com 301.474.9294 301.646.3011 (cell)
Science, Discovery, & the Universe (UMCP)
Webmaster & Webship Teacher
URL: http://www.sdu.umd.edu
eJournalPress
Database/PERL Programmer & System Admin
URL : http://www.ejournalpress.com
Resume : http://p6m7g8.net/Resume
---------------------------------------------------------------------
To unsubscribe, e-mail: advocacy-unsubscribe@perl.apache.org
For additional commands, e-mail: advocacy-help@perl.apache.org
-------------------------------------------------------
--
END
------------------------------------------------------------------------------
Philip M. Gollucci philip@p6m7g8.com 301.474.9294 301.646.3011 (cell)
Science, Discovery, & the Universe (UMCP)
Webmaster & Webship Teacher
URL: http://www.sdu.umd.edu
eJournalPress
Database/PERL Programmer & System Admin
URL : http://www.ejournalpress.com
Resume : http://p6m7g8.net/Resume