Hi all,

I'm trying to push a scalar onto an array. The array I'm trying to
push() to is the first element of another array. I can't figure out what
I'm missing. It would be appreciated if someone could point me in the
right direction.

if (-e $data_file) {

        $graph_data = retrieve $data_file;

        $x_axis = $graph_data->[0][0];
        $x_axis++;

        # start pushing the next days data into the aoa
        push ($graph_data->[0], ($x_axis));

        store $graph_data, $data_file;
}

Cheers,

Steve

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to