Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

[SOLVED]: Need help with range expression ('0 .. -0.5' === '0 .. 0.5')

by rsFalse (Chaplain)
on Feb 23, 2019 at 17:42 UTC ( [id://1230472]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    push @array, reverse @array[ 0 .. $n / 2 - 1 ];
    
  2. or download this
    qw(A B C D E)
    qw(A B C D)
    qw(A B C)
    qw(A B)
    qw(A)
    
  3. or download this
    A B C D E D C B A
    A B C D D C B A
    A B C B A
    A B B A
    A A
    
  4. or download this
    push @array, reverse @array[ EXPR ];
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1230472]
Front-paged by haukex
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-19 10:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found