Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > range operator

Reply
Thread Tools

range operator

 
 
dinesh
Guest
Posts: n/a
 
      12-11-2006
Hello,


The range operator is not working for the following combination.

@arr = (y..z);

@arr = (q..z);

@arr = (m..z);

@arr = (s..z);

The above combinations displaying error message when the i try to run
the program. but it is working fine for the other combinations like:

@arr = (a..z);

@arr = (n..z);

@arr = (t..z); etc...

Can some tell me why this is having problem.

Thanks,
DineshK
=======

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I transform source range to destination range that is thesame as source? Lambda C++ 2 07-16-2008 05:18 PM
'ArgumentError: bad value for range' for range of Times David Bird Ruby 1 06-23-2008 12:12 PM
range() is not the best way to check range? Summercoolness@gmail.com Python 46 07-25-2006 08:10 PM
Scene range vs dynamic range Robert Feinman Digital Photography 2 07-04-2005 09:30 PM
Range does not take an Range object. Tomoyuki Kosimizu Ruby 3 11-27-2003 12:42 AM



Advertisments