$out;
}
-=head1 AUTHOR
+=head2 is_supported( )
-=over 4
+Returns true if L<XML::Simple> is available.
+
+=cut
-=item * Brian Cassidy E<lt>bricas@cpan.orgE<gt>
+sub is_supported {
+ eval { require XML::Simple; };
+ return $@ ? 0 : 1;
+}
-=item * Joel Bernstein E<lt>rataxis@cpan.orgE<gt>
+=head1 AUTHORS
-=back
+Brian Cassidy E<lt>bricas@cpan.orgE<gt>
+
+Joel Bernstein E<lt>rataxis@cpan.orgE<gt>
=head1 COPYRIGHT AND LICENSE
-Copyright 2006 by Brian Cassidy
+Copyright 2007 by Brian Cassidy
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.