由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - perl monk (ascii art)
相关主题
怎么非ASCII字符就过滤不了呢?[Perl]为什么从txt文件里拷贝script到front page 里面时空格都变成了%20 ?
请问如何将c/c++ 中的ascii 文件存为binary 文件,Path with non-ascii character
perl monks: you should read "advanced perl programming"能帮忙看看这个字符串的操作问题吗?
请问如何判断一个文件内容是UNICODE 还是 ANSIc++ string 一问,
Θ(n)是什么意思?怎么用matlab把binary文件转化成ascii文件?
一个简单的小问题软件加密问题
Python unicode问题VB中怎么产生一个有特殊ASCII字符的string
Please help: regarding ftp scripting in Windows xp Command promptWhat's the problem with 'ascii' codec? (转载)
相关话题的讨论汇总
话题: 40话题: ord话题: map话题: chr话题: perl
进入Programming版参与讨论
1 (共1页)
c**t
发帖数: 2744
1
#/usr/bin/perl -w
use strict;my%p=
("\40"=>chr(ord("\40"
)*3-1).chr(ord("\40")+ord("\40")/4+7));$p{$p{"\40"}}="\40";print
@{[map{my$o= $p{"\40"};@{[map{(($o=$p{$o})x$_)}map{ord($_)-(ord(
"\40")*3 )-1}split//]},"\n"}split/n/,"uaqbnfdgcebcccbnebe"
."bcecc" ."gbndbeb" ."cbibi" ."bncdg" ."dcbib"
."nbbna" ."bnaaua" ."ubndd" ."ccgce" ."debcb"
."ncbeb" ."ebcbeb"
."cbebc" ."cnbbeb"
."ebcbebcbebcbcbnab"
."ebebecebebcbeb"
."na"]};# amen
This
1 (共1页)
进入Programming版参与讨论
相关主题
What's the problem with 'ascii' codec? (转载)Θ(n)是什么意思?
怎样将array^转换成string?一个简单的小问题
C语言怎么打印出温度的符号?Python unicode问题
用一个整数Please help: regarding ftp scripting in Windows xp Command prompt
怎么非ASCII字符就过滤不了呢?[Perl]为什么从txt文件里拷贝script到front page 里面时空格都变成了%20 ?
请问如何将c/c++ 中的ascii 文件存为binary 文件,Path with non-ascii character
perl monks: you should read "advanced perl programming"能帮忙看看这个字符串的操作问题吗?
请问如何判断一个文件内容是UNICODE 还是 ANSIc++ string 一问,
相关话题的讨论汇总
话题: 40话题: ord话题: map话题: chr话题: perl