Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: The history of a templating engine

by ursus (Acolyte)
on Jan 03, 2008 at 19:54 UTC ( #660307=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use UrsusTemplate::tmpl;
    
    ...
        $out .= "<i>some HTML</i>";
        return $out;
    }
    
  2. or download this
    sub run {
        my $tmpl_path = shift;
    ...
        print run(@_);
        print $site_tail;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://660307]
help
Chatterbox?
[thezip]: What idiom should I use to determine that a directory is empty (for many directories)?
[thezip]: I suppose could check if readdir() returns other than '.' and '..', but that seems ugly.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2017-03-28 18:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (339 votes). Check out past polls.