Please refer this question
How to assign multiple names simultaneously to a C# class
How can we achieve the same in Perl?
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.
It’s not “allowing multiple names”.
It’s “aliasing” an existing name. In the case you cited, the C# “using” directive allows you to refer to a namespace or class by a different name:
And there are several alternatives to create an “alias” in Perl, including using the “aliased” module: