Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のうち、条件ステートメントで使用できないものはどれですか?
while 、 if-else 、 until 、 if-elsif-else
または答えは簡単です これらのどれもありませんか?
条件文のブロックには任意のコードを使用できます。
if (f()) { while (g()) { h(); } }
を使用して、条件式に任意のコードを含めることもできますdo。
do
if (do { my $rv; while (!$rv && f()) { $rv ||= g(); } $rv }) { h(); }