Re: [PBML] Re: Please help to correct the perl program?
- On Wed, Feb 25, 2009 at 11:54 AM, mrkcoconnell <mrkcoconnell@...>wrote:
> I am working on this problem and I found all that I could get out ofThat's because you're doing:
> $para was the number of substitutions.
> The way this seems to work is on the variable $_ which is the generic
> When I printed out the $_ I found that my substitution was successful.
> I'll keep working and let you know what I find.
$para = s/something/X/g;
$para =~ s/something/X/g;
You're using the = operator instead of the =~ operator.
The Cross Reference - http://thecrossreference.blogspot.com/
Critical Mass (The Science of the Liturgy) -
[Mary said,] "Do whatever he tells you." ~ John 2:5
[Non-text portions of this message have been removed]