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" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED]

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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

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

-- 
END 
------------------------------------------------------------------------------ 
Philip M. Gollucci [EMAIL PROTECTED] 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 

Reply via email to