# Copyright (C) 2008-2009, Sebastian Riedel. =head1 NAME Mojo::Manual::FAQ - Frequently Asked Questions =head1 QUESTIONS =head2 Do i have to use L? Absolutely not, you could just use any other accessor generator in your modules, L is just a base class and will stay out of your way. =head2 Do i have to use L? Not at all, it is just a convenient default option and can be replaced with any other template engine out there. =head2 Why do my programs break if i use C instead of C? The C attribute of L has to contain a special L object which offers advanced HTTP body manipulation functions. The C method is a wrapper around that and what you will want to use in most cases. $tx->res->body('Hello World!'); If you want to send a file for example, then C would be the right choice. my $file = Mojo::File->new; $file->path('/etc/passwd'); $tx->res->content->file($file); =cut