Re: [Catalyst] Read and Display from i/o file

2007-04-10 Thread Ian Docherty
Will First you need to put the data you read into an array (for example @rows) then put it on the stash The main problem is that your template [% FOREACH row IN row %] should be [% FOREACH row IN rows %] I think this is your main problem. Regards Ian C. Docherty (icydee) Will Smith wrote

[Catalyst] Read and Display from i/o file

2007-04-10 Thread Will Smith
Hi, I am using Text::Delimited to read in a text file, that's very straigth forward. My problem is I want to display back onto the template what has been read from the file: my $row = $file->read; # for example the file has 2 col: id, name I cannot do like this on the template: [% FOREACH

Re: [Catalyst] streaming output to view in real time

2007-04-10 Thread David Morel
Le 10 avr. 07 à 17:57, Jimmy Cooksey a écrit : Hi, I'm looking for a way to redirect STDOUT from an external application directly into my website, updating in real time. My original plan is to do something like this: 1. Controller popen's some program 2. Reads the file descriptor 3. Redir

[Catalyst] streaming output to view in real time

2007-04-10 Thread Jimmy Cooksey
Hi, I'm looking for a way to redirect STDOUT from an external application directly into my website, updating in real time. My original plan is to do something like this: 1. Controller popen's some program 2. Reads the file descriptor 3. Redirects each new line into some DIV in my view, showi

Re: [Catalyst] Problem with Catalyst::Manual::Tutorial::CatalystBasics tutorial

2007-04-10 Thread Bogdan Lucaciu
On Tuesday 10 April 2007 14:18, Imran Chaudhry wrote: >    ERROR        => 'error.tt2', try removing this , it will make TT silently ignore any template errors. -- Bogdan Lucaciu http://www.wiz.ro ___ List: Catalyst@lists.rawmode.org Listinfo: http://

[Catalyst] Problem with Catalyst::Manual::Tutorial::CatalystBasics tutorial

2007-04-10 Thread Imran Chaudhry
Hi all, I'm having a frustrating time trying to debug why the Tutorial here: http://search.cpan.org/~jrockway/Catalyst-Manual-5.700501/lib/Catalyst/Manual/Tutorial/CatalystBasics.pod is not working for me. By "not working" I mean that I do not see the list of books. I get an empty document. I've

[Catalyst] Re: A very strange question,please help me

2007-04-10 Thread Cookie
Everything looks ok when after upgrade.Thanks very much. 2007/4/9, Cookie <[EMAIL PROTECTED]>: the same code(example in CPAN) when I run the program(login part,post > username and password to server) in the windows,it can normally show to > me,but when I run the program in a Linux server,the