首页Home › 编码与加密Encoding & Crypto
🐪 Perl 代码格式化Perl Code Formatter
根据花括号层级重新整理 Perl 代码缩进,识别 # 注释与字符串(基础缩进,不重排代码)。Re-indent Perl code by brace depth, aware of # comments and strings (basic indentation, does not restructure code).
使用说明与常见问题How-to & FAQ
「Perl 代码格式化」是什么?What is the Perl Code Formatter tool?
根据花括号层级重新整理 Perl 代码缩进,识别 # 注释与字符串(基础缩进,不重排代码)。Re-indent Perl code by brace depth, aware of # comments and strings (basic indentation, does not restructure code).
如何使用「Perl 代码格式化」?How do I use the Perl Code Formatter tool?
在「Perl 代码格式化」中,把内容粘贴或输入到上方输入框,按需设置「缩进空格」,结果会实时显示在下方,点击「复制结果」即可复制。In the Perl Code Formatter: Paste or type into the input box, adjust "Indent"; the result appears below instantly — click "Copy result" to copy it.
它是完整的代码美化器吗?Is it a full beautifier?
不是,这是按花括号层级的基础缩进整理工具,会忽略 # 注释中的括号,但不会重排代码结构。No, it's a basic brace-depth indenter that ignores braces inside # comments but does not restructure the code.
编码和加密有什么区别?Is encoding the same as encryption?
编码(如 Base64、URL 编码)可直接还原,不提供保密性;加密需要密钥。「Perl 代码格式化」的处理全部在本地完成。No. Encoding (Base64, URL…) is reversible by anyone; encryption needs a key. The Perl Code Formatter works fully offline in your browser.
「Perl 代码格式化」免费吗?需要注册吗?Is the Perl Code Formatter free? Do I need an account?
「Perl 代码格式化」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Perl Code Formatter is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.