We don't bite newbies here... much | |
PerlMonks |
Re^2: Basic HTTP problemsby Fletch (Bishop) |
on Feb 05, 2021 at 14:16 UTC ( [id://11127930]=note: print w/replies, xml ) | Need Help?? |
I believe that's a python-y array slice pulling off the last 32 characters of the (in this case) string so OP'd need something like $sid = substr( $req->content, -32 ) to get the equivalent value (although blindly pulling out the last 32 characters rather than actually parsing the returned value may be living dangerously regardless of the implementation language . . .).
The cake is a lie.
In Section
Seekers of Perl Wisdom
|
|