Thread
:
Perl Programming Question.
View Single Post
#
4
11-09-2005, 01:11 AM
kachun
Registered User
Join Date: Mar 2005
Location: Fremont, CA
Posts: 3
Quote:
$name would equal "Monkey_Brains"
Then some code that reads and modifies $name
$modifiedname would now equal "Monkey Brains"
$name =~ s/_/ /g;
This will globally substitute all '_' to ' ' (space).
Kachun
__________________
Kachun
1990 300SE
2003 E320
kachun
View Public Profile
Find all posts by kachun