Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: I need help with the error "Modification of non-creatable array value attempted"

by Athanasius (Archbishop)
on Jul 14, 2014 at 17:17 UTC ( [id://1093589]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     3:03 >perl -MData::Dump -wE "my @array; $array[5.35968 % 2] = 42; dd 
    +\@array;"
    [undef, 42]
    
     3:03 >
    
  2. or download this
     3:03 >perl -wE "my $iterations = 0; my $number = 192; while ($number 
    +!= 0) { $number /= 2; ++$iterations; } say qq[$iterations iterations]
    +;"
    1083 iterations
    
     3:06 >
    

Log In?
Username:
Password:

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

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

    No recent polls found