Perl/Shell/Python Knowledge Sharing
Perl, shell, python Interview Questions and Answers and quiz
Sunday, January 2, 2011
Rename Filename in perl
foreach my $o (glob("??YYF*")) {
($n=$o)=~s/YYF/XXY/;
rename $o,$n;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment