in reply to Error while autoloading 'Wx::TextAttr'

You're missing a method name, like new
my $color1 = Wx::TextAttr->(wxRED); ^^^^^^^^

Replies are listed 'Best First'.
Re^2: Error while autoloading 'Wx::TextAttr'
by ZJ.Mike.2009 (Scribe) on May 05, 2011 at 06:34 UTC
    Great! That solves the problem. Thanks,Anonymous Monk!