The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Replace Perl Module name in all Perl scripts
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Replace Perl Module name in all Perl scripts
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
12-01-2005
sssow
Registered User
Join Date: Aug 2001
Posts: 179
You can use
perl
itself
for filename in *.pl
do
perl
-p -i.bak -e "s/myUtil/myUtil777/g" $filename
done
sssow
View Public Profile
Find all posts by sssow
Find sssow's past nominations received
Find sssow's present nominations given