perl字符串倒置

#!/usr/bin/perl

print "Input string: ";

$line = <stdin>;

$line = reverse ($line);

print $line;

posted on 2019-08-23 14:34  BPSO_mynotes  阅读(209)  评论(0)    收藏  举报

导航