Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Converting python list range expressions to perl

by kcott (Archbishop)
on Dec 04, 2022 at 18:45 UTC ( [id://11148553]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        [\@test_array, '[-3:-1]', 'ef'],
        [\@test_array, '[-3:-3]', ''],
        [\@test_array, '[3:-1]',  'def'],
        [\@test_array, '[:]',  'abcdefg'],
    
  2. or download this
    1..8
    ok 1 - Testing: [:3]
    ...
    ok 6 - Testing: [-3:-3]
    ok 7 - Testing: [3:-1]
    ok 8 - Testing: [:]
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-18 00:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found