Search Results

Search: Posts Made By: Aia
Forum: Programming 10-16-2015
2,345
Posted By Aia
Since Perl 5.10 is being used, the given...
Since Perl 5.10 is being used, the given statement can do the work of a switch.

given($option) {
when(1) { %pg = (...)}
when(2) { %pg = (...)}
when(3) { %pg = (...)}
default { say...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 07:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy