I was trying to create a bunch of static HTML pages and bash didn't scale very well with the growing project so I started using more and more Perl and shelled out to the existing .sh scripts.
for instance I remember being stuck by defining sub func() {...} only to find out that Perl doesn't have proper signatures. Empty parens mean an empty prototype forbidding any arguments at compile-time and bang! :/
still far better than bash.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
In reply to Re: What does your old Perl code look like?
by LanX
in thread What does your old Perl code look like?
by haukex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |