in reply to cron vs bash (solved)
You can see where the module was found in the case of the console, by dumping %INC (in particular, $INC{'LWP/Protocol/https/Socket.pm'}), for example in an END block.