News for hackers. Stuff that matters.
Re:The joy of Perl by caw on Tuesday March 20, 2012 @08:48AM (#3728934)
I agree Perl is great for everything listed except:

    sub function_name
    {
        my ($var1,$var2..) = @_;

    }
I know why methods are like that, but it doesn't make me any less unhappy to have to read a function in order to figure out what types and what order I need to pass values to a function.

There's a few Perl programmers at work who end up using just a bunch of global variables instead of doing pass by reference or returning values from subs.

sub do_something { # modify %my_global_hash }

It's just strange working with Perl after working in more OO languages. But, like you said, Perl adapts to your style. I want it more like other languages I've written in, whereas the people I work with don't.

Getopts::Long is amazing for parsing command line, and I don't know how I would work without being able to do the inline if and unless statements.

Re:The joy of Perl by gatlin on Tuesday March 20, 2012 @09:47AM (#3729166)
https://metacpan.org/module/Function::Parameters

There are other modules out there like this, including one that bakes it into Moose methods. This also highlights a cool Perl feature: hack able syntax.

Re:The joy of Perl by sciurus on Tuesday March 20, 2012 @11:26AM (#3729706)
Re:The joy of Perl by kamaal on Tuesday March 20, 2012 @09:49AM (#3729177)
I don't know what might have Larry thought while designing this. But I can imagine only of one thing.

While writing Perl one liners it might become difficult to fit in the parameters in the usual C based function implementation syntax, in such cases this might turn out useful.

Let us not forget sysadmins use Perl a lot on the command line.