How can you implement a function that will accept several variables? After all in Perl all the parameters passed to a function are shoved into the @_ array of the function.
For example, what if you are creating a function to send emails. You would like the user to pass in a parameter for the "from" field, one for the "to" field, one for the "subject", one for the "plain text" version of the email, one for the "html" version of the email. Maybe even a parameter for the "cc" and the "bcc" fields.
Perl Maven Pro - screencasts with articles
As a Perl Maven Pro subscriber you will enjoy a library of articles and screencasts.
Ad free browsing!
The articles contain topics such as Web Application Development, Object Oriented programming, testing, deployment, code walkthroughs, best practices, and many more subjects in Perl, and in related technologies.
The related technologies over HTML5, CSS3, JavaScript, Git, Subversion, vim, Unix/Linux shell, SQL and NoSQL just to name a few topic that I, as a Perl programmer find useful.
Subscriptions include all previous pro episodes.
In order to subscribe to the Perl Maven Pro, first register and login to the web site, and then pay via PayPal:
or
If you already have Perl Maven Pro subscription, you will need to login to access the articles.

Gabor who runs the Perl Maven site helps companies set up test automation, CI/CD
Continuous Integration and Continuous Deployment and other DevOps related
systems.