Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Seeing Perl in a new light

by Lady_Aleena (Deacon)
on Apr 13, 2009 at 07:20 UTC ( #757174=note: print w/ replies, xml ) Need Help??


in reply to Re: Seeing Perl in a new light
in thread Seeing Perl in a new light

Your Mother...Hopefully I will only need this one file to build the framework for all of the rest. I am thinking about naming it base.pl then do "base.pl" on every page of the site or something similar. If I understood the module making mojo, I would probably be able to use base, but that requires more than I know now.

The first thing I need to know is how to grab file and directory names. I haven't been able to find anything on google about getting things from the environment, if that is the correct term. Then I have to learn how to write a regex. Fun, fun, fun.

As for the other files, the ones that I do not want to include in the navigation, do not worry. I will still be using my css file, images, and any javascripts that can not be replaced with Perl. What I was discussing is where to put them. See below.

/root
 /files - Where everything that is not meant for the viewing public goes.

-or-

/root
 /css - Where my style sheet(s) will go. (I may break it up into smaller pieces.)
 /images - Where my images will go.
 /javascripts - Where my javascripts will go.
 /other - Where everything else that is not meant for the viewing public goes.

-or-

/root
 /files
  /css - Where my style sheet will go.
  /images - Where my images will go.
  /javascripts - Where my javascripts will go.
  /other - Where everything else that is not meant for the viewing public goes.

When I write the navigation, I will exclude those directories from it. I am just not sure which way I want to go right now. Currently, I have everything crammed into the root directory that is site wide like my style sheets, images, etc. I may go with the first or third option, since it would be easier to exclude just one directory, than four or more.

Have a nice day!
Lady Aleena


Comment on Re^2: Seeing Perl in a new light
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://757174]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2015-07-05 03:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls