in reply to Re: push problem
in thread push problem

It has nothing to do with strict and warnings; it is a syntax error, it won't even compile.

Replies are listed 'Best First'.
Re: Re: Re: push problem
by DamnDirtyApe (Curate) on Nov 23, 2002 at 02:17 UTC

    Without warnings:

    Type of arg 1 to push must be array (not array slice) at test.pl line +4, near "];" Execution of test.pl aborted due to compilation errors.

    With warnings:

    Useless use of push with no values at test.pl line 4. Type of arg 1 to push must be array (not array slice) at test.pl line +4, near "];" Execution of test.pl aborted due to compilation errors.

    Not a ton of new information, but if you can't figure out what's wrong from the first error message, it might be of some help.


    _______________
    DamnDirtyApe
    Those who know that they are profound strive for clarity. Those who
    would like to seem profound to the crowd strive for obscurity.
                --Friedrich Nietzsche