Hello,

The code below is in the Camel book, and I like this style.
Anyone knows the name of this style or there is no such a name?

----------------------------
if    (/^abc/) { $abc = 1 }
elsif (/^def/) { $def = 1 }
elsif (/^xyz/) { $xyz = 1 }
else           { $nothing = 1 }
----------------------------

I know K&R and BSD/Allman style refering to the IF style,
but this is not these.
I can't remember someone was calling it as...

Regards,
Hirosi Taguti
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to