Something like this (Untested, uncompiled):
for my $w ($paragraph->{Range}->Words()){ next unless $w->Text() =~/perl/i; $w->Font->{Bold} = 1; }
Syntactic sugar causes cancer of the semicolon. --Alan Perlis
In reply to Re: How do I apply formatting to a particular word in a docx file using Win32::Ole in Perl?
by NetWallah
in thread How do I apply formatting to a particular word in a docx file using Win32::Ole in Perl?
by ZJ.Mike.2009
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |