Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by Juerd (Abbot)
on Dec 26, 2001 at 21:56 UTC ( [id://134439]=note: print w/replies, xml ) Need Help??


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

For the same reason 2 + 2 doesn't return an lvalue.
Besides, there's no reason for having reverse return an lvalue. TMTOWTDI, and reverse chop was never supposed to be one of them. Still, there are a lot of other WTDI.

2;0 juerd@ouranos:~$ perl -e'undef christmas' Segmentation fault 2;139 juerd@ouranos:~$

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

Log In?
Username:
Password:

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

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

    No recent polls found