in reply to Re: BWTDI: Better Way To Do It?
in thread BWTDI: Better Way To Do It?

Ok so it works and I've been playing with

$face &&= 1;
and I think finally get how that's working. (Never used && outside of a conditional before -- cool). But I don't see how it's not popping a 'uninitialized warning' on $face in the map statement when I supply '3d6' as an arg as opposed to 3d6s. If I pop a debugging
print "$face\n";
afterwords it does pop an unitialized warning, and I would have expected it to print a '0'.

coreolyn -- arm tired from head scratchin :)

Replies are listed 'Best First'.
Re: Re: Re: BWTDI: Better Way To Do It?
by merlyn (Sage) on Jan 15, 2001 at 00:40 UTC
Re: Re: Re: BWTDI: Better Way To Do It?
by I0 (Priest) on Jan 15, 2001 at 01:23 UTC
    Die->get checks if ( $faced && $faced == 1 ) {