Perl swap two variables

This is a easy way to swap 2 ore more variables in a short and easy way in Perl.In this solution you don’t need a third variable as store.

And as result we get this:

One thought on “Perl swap two variables”

Leave a Reply

Your email address will not be published.

nine − two =