prints neatly, every line of the directory listing on a separate line
in the browser:
sub getFiles()
{
my ( $self, $c ) = @_;
print getFiles() !;
@{$c-stash-{files}} = `ls -l /home/frodo/`;
}
It looks like adding a print statement will throw the output into
literal mode of some
On 28/08/2007, lanas [EMAIL PROTECTED] wrote:
Hi folks,
In understanding how Catalyst work and how to work with , I'm making
very simple stuff, like having a model that only returns a directory
listing. I found something curious before starting to make a view.
Every line of the directory
On Aug 28, 2007, at 6:52 PM, lanas wrote:
Can someone tell me why the output of the directory listing is not the
same due to, apparently, the poresence of a print statement ?
The print statement is being output before the document headers are.
Without the print statement, you are getting a
FWIW I recently used keywords in TT template filenames to identify
which CSS file to use (public,admin portal, customer portal, etc.).
But the default wrapper (root/lib/site/wrapper) will use text/plain if
the filename has css|js|txt in it.
___
List:
Hi folks,
In understanding how Catalyst work and how to work with , I'm making
very simple stuff, like having a model that only returns a directory
listing. I found something curious before starting to make a view.
Every line of the directory listing, obtained with 'ls -l', will be
chomped if