|P is for Practical|
Range operator doesn't seem to workby Cristoforo (Curate)
|on Oct 29, 2006 at 18:22 UTC||Need Help??|
Cristoforo has asked for the
wisdom of the Perl Monks concerning the following question:
I don't understand why the following code won't accept a value within the range specified. It dies even when values that should be valid are given. Thanks for any light you may shed on this
Thank you for your helpful answers. I have read perlop (probably not closely enough :-) ). I was looking at some old code snippets i kept around and thought that one of them did what I was first attempting
I think in this example it becomes true when $==5 and then becomes false when $i==10. Just some fuzzy thinking on my part. I guess neniro's example is the one that will work for me.