Net-Dict | DICT protocol | Serialization library
kandi X-RAY | Net-Dict Summary
kandi X-RAY | Net-Dict Summary
This distribution contains the Net::Dict module for Perl. Net::Dict is a class implementing a simple client API for the DICT protocol defined in RFC2229.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Net-Dict
Net-Dict Key Features
Net-Dict Examples and Code Snippets
Community Discussions
Trending Discussions on Net-Dict
QUESTION
ANSWER
Answered 2020-Jul-29 at 09:15The /U
and /C
flag were valid in Perl 5.6.0, cf Perl 5.6.0's perldoc (I don't know when they were introduced though). They were removed in Perl 5.7.0, as you can see in perl570delta:
The tr///C and tr///U features have been removed and will not return; the interface was a mistake. Sorry about that. For similar functionality, see pack('U0', ...) and pack('C0', ...).
They were also removed from Perl 5.6.1; see perl561delta.
Note that the Net::Dict
module was written in 1998, and the latest Perl version back then was 5.005. I guess that whomever updated the code since then missed this example.
The behavior of /U and /C in Perl 5.6.0 was:
U Translate to/from UTF-8.
C Translate to/from 8-bit char (octet).[...]
The first /U or /C modifier applies to the left side of the translation. The second one applies to the right side. If present, these modifiers override the current utf8 state.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Net-Dict
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page