in reply to switch statement
Hi virtuemart2,
I got a stupid programming question: can switch statment inside switch statement? I mean switch inside a switch? double switchOne of the paragraph of one of the links you provided namely Switch.html says and I quote
Note that switch -es can be nested within case (or any other) blocks, and a series of case statements can try different types of matches -- hash membership, pattern match, array intersection, simple equality, etc. -- against the same switch value...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: switch statement
by virtuemart2 (Novice) on Sep 23, 2013 at 06:24 UTC |