in reply to Re: Perl script crashing at lockfile ?
in thread Perl script crashing at lockfile ?

Hi,

Yikes, .. I just used CPanel to check on the installed Perl modules, and I couldn't find lockfile or system, so I guess I'm going to have to change the code.

Thanks,

Peter

Replies are listed 'Best First'.
Re: Re: Re: Perl script crashing at lockfile ?
by robartes (Priest) on Oct 01, 2003 at 12:21 UTC
    Whoa, hang on there.

    system is a perl built-in function, so you do not need any modules installed to have it available.

    lockfile is part of your operating system software (well, that's not technically completely accurate, but close enough), so it has nothing to do with Perl in itself.

    Back out of that alley you've gone down and look for the solution in another direction :). Your problem is most probably situated in different behaviour of lockfile between your original and current systems.

    CU
    Robartes-

      >>Your problem is most probably situated in different behaviour of lockfile between your original and current systems.

      Besides Perl, all the other software (Apache, MySQL, PHP, etc, etc) on the previous website, was VERY old, ... well a considerable number of releases back.

      Peter

Re: Re: Re: Perl script crashing at lockfile ?
by tachyon (Chancellor) on Oct 01, 2003 at 12:24 UTC

    lockfile(1) is part of the OS. system() is part of Perl. Neither are Perl modules. Regardless of your lack of understanding of what your code is doing to what and where your analysis of the required actions is correct.

    Suggestion. SSH into the shell and deal with your server like a (man/woman/real hacker).

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print