LIBASOV IOANNIS wrote:
>
> I'm not quite sure if this question is appropriate for this mail list, so may be
> somebody can tell me whom to ask better.
>
> I was going to run the following code:
>
> ..........
> if (system("mysql -u username -ppassword -h hostname -P 3606 < path/to/filename
> 2>errlog")) {
>
> return ("Something wrong - $? ");
>
> }
>
> return undef;
> ...................
>
> It does not works under LINUX and Windows95 (it works fine under Windows NT. The
> command works also in command line).
>
> The code is not being executed, and it does not return any error code ($?).
>
> Please help!!!!
>
> Thanks!
> Yannis Livassov, iliba@stripped
Try giving the full path to mysql.
| Thread |
|---|
| • perl API | LIBASOV IOANNIS | 24 Mar |
| • Re: perl API | Gerald Clark | 28 Mar |