Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: Commenting irrelevant code produces weirds errors

by Anarion (Hermit)
on Feb 17, 2002 at 15:13 UTC ( [id://145996]=note: print w/replies, xml ) Need Help??


in reply to Re: Commenting irrelevant code produces weirds errors
in thread Commenting irrelevant code produces weirds errors

Thx tachyon, but where are or these
${\$VAR1->[3][0]}
come from?

If you see the entire program i just want to initialize those 4 scalars. May i have to initialize all the array to make it work with map?

And another thing i dont understand too much is why for modify de array? Its a perl "feature" ? cough

$anarion=\$anarion;

s==q^QBY_^=,$_^=$[x7,print


Replies are listed 'Best First'.
Re: Re: Re: Commenting irrelevant code produces weirds errors
by tachyon (Chancellor) on Feb 17, 2002 at 15:27 UTC

    I have no idea why it generates that weird data structure!. It is not as though it is even consistent as the first value is undef (as you might expect) but then the other ones......are references to this undef value. Looks a bit like a {cough} feature to me. This may be a feature either of perl or Data::Dumper. As to why the grep then modifies this matrix just by looking at it -> GOK. Anyway I think this is probably the matrix you wanted in @taulell.

    sub inicialitzacions { $torn='B'; @taulell = ([],[],[],[('','','','B','N')],[('','','','N','B')]); @pos{'x','y'}=(2,2); }

    cheers

    tachyon

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://145996]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-24 05:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found