Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re (tilly) 3: Efficient code to auto-generate web pages

by tilly (Archbishop)
on Jan 09, 2002 at 02:38 UTC ( [id://137283]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Efficient code to auto-generate web pages
in thread Efficient code to auto-generate web pages

References quick reference might be helpful in figuring out how to get ideas down into code.

A concrete idea is that your long list of hashes should all be one hash of hashes. That reduces the insert lines down to something like:

my $base = substr($grp, 0, 3); if (exists $is_hierarchy{$base}) { $dsc{$base}{$grp} = $dsc; $title = "$base$ng"; } else { $dsc{other}{$grp} = $dsc; }
(And then the information about all of the different hierarchies you have has to be popualted in a hash %is_hierarchy.)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2024-04-19 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found