http://www.perlmonks.org?node_id=470796


in reply to Re: Magic 8 Ball
in thread Magic 8 Ball

( $a = $1 ) =~ s/\s+(8+\s+)*//g; # Remove center "hole" (from copy)

This line also removes whitespace from outside the ball.

                - Ant
                - Some of my best work - (1 2 3)