in reply to Re: Can't use string as an ARRAY
in thread Can't use string ("250") as an ARRAY ref while "strict

I understand you wrote. What I want is replace "250" by "500". I don't know how to change it.
Thanks

Replies are listed 'Best First'.
Re^3: Can't use string as an ARRAY
by PodMaster (Abbot) on Oct 03, 2004 at 10:38 UTC
    I don't think you do. This is one way
    $category->{'subcategory'}[0]{'product'}[0]{'conditionning'}[0]{'conte +nt'} = 500;

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

      I put it the wrong way. But Thank you so much.