RE: Handling conditional-gets in embperl

2005-11-22 Thread Gerald Richter
> $req_rec->update_mtime($mod_time); > $req_rec->set_last_modified($mod_time); > > if ((my $rc = $req_rec->meets_conditions) != 200) { # > we can give up > $req_rec->status($rc); > print STDERR "got here b\n"; > #exit; Try exit ($rc)

RE: javascript variables in embperl tag

2005-11-22 Thread Gerald Richter
> > I might use javascript's document.write, but I wonder if it's > possible in embperl space (maybe a new tag?), like > > var myarray=new Array(1,3,4,7); > [=myarray[0]=] instead of document.write > > which will do the same as > [-my @myarray=(1,3,4,7)-] > [+$myarray[0]+] > You cannot direc