On Thu, May 21, 2015 at 3:41 AM, Vincent Lequertier <s...@riseup.net> wrote: > From http://perldoc.perl.org/perlmod.html#Perl-Modules, "1;" is used to end > with a true value
There is a bit better explanation here: http://www.perlmonks.org/?node_id=781340 In short, `use' is like syntactic sugar around `require' (plus some stuff), which is like syntactic sugar around `do' (plus some stuff). require is the one checking the return value of the module code and raising an exception on falsy values. perldoc -f use perldoc -f require perldoc -f do Regards, -- Brandon McCaig <bamcc...@gmail.com> <bamcc...@castopulence.org> Castopulence Software <https://www.castopulence.org/> Blog <http://www.bambams.ca/> perl -E '$_=q{V zrna gur orfg jvgu jung V fnl. }. q{Vg qbrfa'\''g nyjnlf fbhaq gung jnl.}; tr/A-Ma-mN-Zn-z/N-Zn-zA-Ma-m/;say' -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/