For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > January 2008 > Re: ΄πΈ΄: Help in system function









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: ΄πΈ΄: Help in system function
Paul Lalli

2008-01-17, 7:02 pm

On Jan 17, 10:09 am, godsarm...@gmail.com (Chen Yue) wrote:
> If you are in a *nix system, you can try to run
>
> $result=` mk_view $view_name ETC`
>
> instead and see the output from $result. It may be helpful to find the root
> cause.


You've got it backwards.

system("...")
caues the output to be printed to the screen.

`...`
causes the output to be returned.

In either case, the OP said the command is not being executed, which
means it's not generating any output.

Paul Lalli

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com