range operator

Discussion in 'Perl Misc' started by dinesh, Dec 11, 2006.

  1. dinesh

    dinesh Guest

    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
    =======
     
    dinesh, Dec 11, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    46
    Views:
    972
    Antoon Pardon
    Jul 25, 2006
  2. Lambda
    Replies:
    2
    Views:
    401
    James Kanze
    Jul 16, 2008
  3. Tomoyuki Kosimizu

    Range does not take an Range object.

    Tomoyuki Kosimizu, Nov 25, 2003, in forum: Ruby
    Replies:
    3
    Views:
    155
    Tomoyuki Kosimizu
    Nov 27, 2003
  4. David Bird
    Replies:
    1
    Views:
    213
    Tiago Macedo
    Jun 23, 2008
  5. Joey Zhou
    Replies:
    5
    Views:
    237
    Joey Zhou
    Apr 15, 2011
Loading...

Share This Page