perl字符串倒置
#!/usr/bin/perl
print "Input string: ";
$line = <stdin>;
$line = reverse ($line);
print $line;
参考来源:
posted on 2019-08-23 14:36 BPSO_mynotes 阅读(267) 评论(0) 收藏 举报
#!/usr/bin/perl
print "Input string: ";
$line = <stdin>;
$line = reverse ($line);
print $line;
参考来源:
posted on 2019-08-23 14:36 BPSO_mynotes 阅读(267) 评论(0) 收藏 举报