Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSarah Bradberry
7,115 PointsPerl Q - fault in my script? Help please!
I don't have any experience writing perl scripts yet and I'm having a problem running a script called mediawiki2wp. I'm hoping someone with experience can help.
I'm running strawberry perl on a 64bit windows 7 computer (I have no idea if that info is needed but just in case...)
When I run it, it stops with the following notice:
at c:/strawberryperl/site/lib/XML/Smart.pm line 240
at c:\convert\mediawiki2wp.pl line 68
I'm assuming that means these are the lines where it hits an error and stops
Line 240 in Smart.pm is
$$this->{tree} = &XML::Smart::Tree::parse($file,$parser,@_) ;
and line 68 in mdiawiki2wp.pl is
my $XML = XML::Smart->new($opt{f},'XML::Smart::Parser');
Is this enough information to tell me what needs to be changed in mediawiki2wp.pl to make it run?