Help for this page

Select Code to Download


  1. or download this
    sub sendFile {
           # application object
    ...
          my $tmpl = $self->param('info' => $self->load_tmpl('info.phtml')
    +);
    ...
    }
    
  2. or download this
        # get the filename
        my $filename = "dir+filename";
    
        # check if file exist
        if(-e $filename){