Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^6: question about Encode::decode('iso-8859-1', ...)

by Anonymous Monk
on Mar 07, 2009 at 12:58 UTC ( [id://749044]=note: print w/replies, xml ) Need Help??


in reply to Re^5: question about Encode::decode('iso-8859-1', ...)
in thread question about Encode::decode('iso-8859-1', ...)

Yes, but that's not what the question was. It was asked whether there is any value of $x for which test($x) with the given code (i.e. decode('iso-8859-1',...)) returns 0.  By modifying the code you can of course achieve anything...  But this is kind of like

"Is there any case in which this code will return 0?"

sub test { if (1) { return 1; } else { retrun 0; } }

Yes, there is:

sub test { if (0) { return 1; } else { retrun 0; } }

Replies are listed 'Best First'.
Re^7: question about Encode::decode('iso-8859-1', ...)
by ikegami (Patriarch) on Mar 07, 2009 at 22:28 UTC

    Are you saying it isn't reasonable for by borisz and I to think the OP and other readers would be interested in other encodings? It's funny how you have a problem with it, but the OP doesn't seem to.

Log In?
Username:
Password:

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

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

    No recent polls found