Hi!
On Wed, Oct 27, 2004 at 11:06:43PM +0200, Thomas Klausner wrote:
> But I couldn't change
> const pattern_start => qr{long_regex} (line 343)
>
> (just as a small side note, in addition to some stuff mentioned on #kwiki:
> If this was implemented as 'normal' class data instead of Spiffy magic, it
> would be fairly easy to change the value. If it is possible, please tell me
> how!)
Thanks to the very nice intorspection abilities of Perl (B::Deprase++), I
figured it out myself:
no warnings;
sub Kwiki::Formatter::ForcedLink::pattern_start {
return qr{other_long_regex}
}
simple enough...
--
#!/usr/bin/perl http://domm.zsi.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}