"be consistent" | |
PerlMonks |
use DateTime gives errorby pgmer6809 (Sexton) |
on Mar 20, 2021 at 05:01 UTC ( [id://11129993]=perlquestion: print w/replies, xml ) | Need Help?? |
pgmer6809 has asked for the wisdom of the Perl Monks concerning the following question:
This simple code
Works if I run: perl tst_useDT.pl But if I just type: ./tst_use_DT.pl I get an error: ./tst_use_DT.pl: line 3: use: command not found Error: no such file "DateTime Loaded\n" What could be wrong? I did install DateTime twice; once using sudo to /usr/local and once to my own home directory. Could that be the reason? If so how would I delete the module from my homedirectory? thanks, pgmer6809
Back to
Seekers of Perl Wisdom
|
|