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

Re: First char out of a string & surprises with errors on chop reverse $string (that doesn't work!)

by maverick (Curate)
on Dec 26, 2001 at 21:55 UTC ( #134437=note: print w/replies, xml ) Need Help??


in reply to First char out of a string & surprises with errors on chop reverse $string (that doesn't work!)

merlyn is quite right...had I not been in the shower, I could have saved you the post :)

For those of you who may not know what merlyn means by a lvalue...look at it this way. chop removes the last character from the scalar you pass it modifying the scalar. Since you passed it the return value from reverse, it didn't have a 'real' scalar to chop, thus the error.

/\/\averick
perl -l -e "eval pack('h*','072796e6470272f2c5f2c5166756279636b672');"

  • Comment on Re: First char out of a string & surprises with errors on chop reverse $string (that doesn't work!)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://134437]
help
Chatterbox?
usemodperl remembers the hilarious merlyn bot
[usemodperl]: perl is not broken, perl is being broken by the web being broken by https, for the love of banking apps on free wifi at coffee shops or something...
[Veltro]: Wondering, would it be so hard to write a small application that you can access using http which forwards the request over web ussing ssl?
[Veltro]: are there not even tools for that?
[usemodperl]: the breakage is so fresh i guess not, so it's up to us! :-)
[usemodperl]: someone has yet to make that future famous free http to https proxy written in perl and supported by ads, paypal, patreon, etc to make millions of dollars a minute!
[Veltro]: Why would this be fresh, I recon this is stuff that happens all the time (not Perl per se)

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2018-06-24 16:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?