Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: [Raku] Ranges in array slices

by tomasz (Acolyte)
on Jun 05, 2021 at 05:25 UTC ( #11133549=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    > my @c = 'a'..'z'; @c[6...9, 23, 25].map( { qq[<$_>] } )
    (<g> <h> <i> <j> <x> <z>)
    
  2. or download this
    > my @c = 'a'..'z'; @c[9...6, 23, 25].map( { qq[<$_>] } )
    (<j> <i> <h> <g> <x> <z>)
    
  3. or download this
    > my @c = 'a'..'z'; @c[9..6, 23, 25].map( { qq[<$_>] } )
    (<> <x> <z>)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11133549]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2022-12-04 18:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?