Subject: | Tree::Simple::View should use carp instead of die |
Error messages like
Insufficient Arguments : tree argument must be a Tree::Simple object at C:/Perl/site/lib/Tree/Simple/View.pm line 23
isn't exactly helpful. If you swap the die with Carp's carp, user will get
Insufficient Arguments : tree argument must be a Tree::Simple object at file.pl line 13
also, you have a missing comma in the synopsis
(it would be nice if it was a complete example)