in reply to Slow file creator
3rdly, why divide choice by itself to get 1? What if the user types in 0? you dont' exit gracefully, but kill your own program.open( ... ) for( 1 .. $choice ) { print LOG "x"; } close( ... )
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Slow file creator
by arden (Curate) on Feb 07, 2004 at 23:23 UTC |