Re: variable will not stay shared

2008-04-10 Thread John W. Krahn
[EMAIL PROTECTED] wrote: Hi Members, Hello, 2)How do I shorten/improve this script. You could try it like this: # start of script # use strict; use warnings; use List::Util qw/ shuffle /; my %config = ( number_of_games=> 5_000, capital

Re: variable will not stay shared

2008-04-10 Thread Jenda Krynicky
From: <[EMAIL PROTECTED]> > Hi Members, > 1)The script below produce the following warnings:- "variable > $betting_system will not stay shared at roulette.pl line 61." >What is the problem and how do I rectify this problem. Don't write a named subroutine within another named subrouti

variable will not stay shared

2008-04-10 Thread itshardtogetone
Hi Members, 1)The script below produce the following warnings:- "variable $betting_system will not stay shared at roulette.pl line 61." What is the problem and how do I rectify this problem. 2)How do I shorten/improve this script. Thanks # start of script #