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

Re: substr odd behavior with list arguments

by choroba (Archbishop)
on Mar 22, 2021 at 16:13 UTC ( #11130136=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my ($offset, $length) = a_subroutine_call_that_returns_offset_and_leng
    +th(@some_args);
    substr('abcdefg', $offset, $length);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2021-06-25 01:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (133 votes). Check out past polls.

    Notices?