
FishMonger
Veteran
Apr 30, 2009, 6:45 PM
Post #2 of 4
(408 views)
|
|
Re: [bjg896] Can't modify division ERROR
[In reply to]
|
Can't Post
|
|
I don't wish to be rude, but please don't write or post such bad code. Now, it's trivial for me to reformat that so that it's readable, but why should I need to. Help us to help you, by posting properly formatted and readable code. Please Explain what your intention is and we'll tell you what you need to do to fix it.
elsif ($pLayer =~ /6/) { ($pY - ($p{min_dist}{$pLayer}/2)) / $p{min_dist}{$pLayer} = $pWidth; $pwh{6}{($pY + ($p{min_dist}{$pLayer} / 2))/$p{min_dist}{$pLayer}} = $pWidth; } Are trying to assign a value to $pWidth or test if your expressions equate to the current value of $pWidth? Or are you wanting something else?
(This post was edited by FishMonger on Apr 30, 2009, 6:46 PM)
|