[Catalyst] system() within Catalyst
    Brandon Maust 
    bmaust at gmail.com
       
    Thu Oct 19 01:46:22 CEST 2006
    
    
  
Hi.
I'm trying to use Chart::Graph::Gnuplot to generate some images inside of
one of my application's Views.  That module uses system() to run gnuplot and
checks the return status like so, as described in the system()
documentation:
    $exit_value      $signal_num      $dumped_core 
My problem is that while gnuplot (and several other commands such as touch
and cat) seem to run successfully, perl sees a non-zero exit code within
Catalyst.  Running the same code in a straight perl script provides the
expected results.
Is this a known effect?  Aside from editing the source for this module, I
can't find a good workaround to use it.
Thanks for any suggestions,
Brandon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20061018/03ddebe1/attachment.htm 
    
    
More information about the Catalyst
mailing list