Sign in to follow this  
Followers 0
van_renier

Autoit's 'select, Case'

2 posts in this topic

I know this isn't an Auto-it question, but being fine group of support personnel we have here, I thought someone might be able to help me out. (searching books and the web for 'perl case' or 'perl select' don't yield any viable results. :)

In Au3 we have;

Select

Case $A = "String1"

....

Case $A = 4

....

Case $A = $B

....

EndSelect

Is there a Perl equivalent?

(I know of if, if else, elsif, but for my purpose these appear to be very cumbersome, and limiting.)

Thanks for your time in the 3R's; Reading, Researching, & Replying.

Van

Share this post


Link to post
Share on other sites



I know this isn't an Auto-it question, but being fine group of support personnel we have here, I thought someone might be able to help me out. (searching books and the web for 'perl case' or 'perl select' don't yield any viable results. :)

In Au3 we have;

Select

Case $A = "String1"

....

Case $A = 4

....

Case $A = $B

....

EndSelect

Is there a Perl equivalent?

(I know of if, if else, elsif, but for my purpose these appear to be very cumbersome, and limiting.)

Thanks for your time in the 3R's; Reading, Researching, & Replying.

Van

it's been a long time since i've played with perl, but most languages will have atleast 1 of either select case, or switch case.

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0