First script
examples/perl-intro/hello_world.pl
#!/usr/bin/env perl use v5.10; use strict; use warnings; say 'Hello World';
- #!/usr/bin/env perl - Path to perl interpreter
- use v5.10; - Minimal version number of Perl, turn on new features. Same as use 5.010;
- use strict; - Require variable declarations, avoid stupid mistakes.
- use warnigs; - Ask for warnings. Avoid further stupid mistakes.
- say - print with newline at the end