Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://757174]
help
Chatterbox?
[choroba]: yeah, sounds like one of the strings is not flagged as UTF-8
[choroba]: which usually means its input wasn't handled correctly
[Corion]: choroba: Yeah, I think that would be the good solution
[LanX]: I suspect the first string which comes from the DB ...
[LanX]: ... but this part is already in production for a year now
[Corion]: LanX: The "good" approach here would be to use the appropriate DBI parameters to make the driver decode strings properly. But that will have a ripple-on effect of messing up all the places where manual decoding happens ;)
[LanX]: which means albeit being broken UTF8 it'll be handled correctly
[LanX]: and the problem only occurs since we changed the emails to base64
[LanX]: my main problem will be to cnvince my colleagues that our productive code is broken oO ... so in the end I will just make a workaround :-/
LanX hates UTF8 for causing knots in his brain and stomach

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2017-01-16 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (150 votes). Check out past polls.