Just because the language lets you to relax doesn't mean you shouldn't apply strict validation of all data being worked on :) I don't care about it in a two line cron job but more critical components spend a lot of time on data validation - I am pretty much working in paranoid mode.
If you use Moose you can automatically apply data type checking. On Tue, Aug 4, 2020 at 7:47 PM Wesley Peng <m...@yonghua.org> wrote: > > > Joseph He wrote: > > My company uses Perl for web development. It handles real time payment > > transactions without any problem. Good software is made by the people > > not by the language. > > Maybe I am weak on this point, but how perl handle types more strictly? > for example, > > 123 + '456' > > this is permitted in perl, and this is dangerous. It is not possible in > other strong types language. > > Thanks. >