in reply to Re^4: Mason Interp Perl string
in thread Mason Interp Perl string

... the file does not exist ...

Ah, right, in that case see handle_request/prepare_request in http://cpansearch.perl.org/src/DROLSKY/HTML-Mason-1.48/lib/HTML/Mason/ApacheHandler.pm

prepare_requests tries to resolve a component to a filename from the path -- copy/paste this function, delete the path resolving part, and define

my $comp_path = $interp->make_component( comp_source => $output);

Replies are listed 'Best First'.
Re^6: Mason Interp Perl string
by SleepyJay (Beadle) on Feb 10, 2012 at 21:51 UTC

    This was a good idea, too. But I can't seem to satisfy all of voodoo going on (Apache::Filter instead of HTML::Mason::Requset, then can't find isa_mason_exception, etc.). Sigh.

    I have to give up for now. I have other work to do and this was supposed to be a quick "what-if" that turned into many more hours than intended.

    I'll probably end up making the script generator code smarter and avoid any Mason tags. Too bad, though.

    thanks
    jason.