could someone tell me what this does?
my ($pkg, @elements) = @_;
my $me = "${pkg}::new()";
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Is commonly seen here:
It’s equivalent to the following in PHP:
In the above context it is Perl’s weird way of implementing function parameters, do imagine it looks like this:
Finally this:
Is just a string, consider:
Then,
$me = "rhubarb::new()"