I'm trying to write some code using LWP::Simple and Dancer2. This complains about each of them exporting "get" into the main:: namespace. LWP's documentation is silent about this, while Dancer's is, to me at least, incomprehensible. It says:
Import gets called when you use Dancer2. You can specify import options giving you control over the keywords that will be imported into your webapp and other things: use Dancer2 ':script'; Import Options ":script" Do not process arguments.
Googling has got me nowhere. Can anyone suggest some reading I might usefully do?
Regards,
John Davies
Update: Thanks, Perlbotics. Your solution works perfectly.In reply to LWP::Simple and Dancer2 function name collision (solved) by davies
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |