2007年04月18日06:45 カテゴリLightweight Languages perl - to goto or not to goto, that's the continuation Perlでもgotoを使えば、本当の継続(continuation)が可能であることを示す。 継続ってなんのことだかさっぱりわからない一は、以下にあらかじめ目をとおしておいていただきたい。 なんでも継続 なんでも継続、Perl で。 : torus solutions! 404 Blog Not Found:継続は力なり Tociyuki::Diary - Perl 5.8 で似非継続 Perl 5のgotoには、3種類ある。 goto LABEL こちらはCなどで見られるgotoと等価である。 goto END; print "Hello\n"; END: print "Goobye\n"; G
![404 Blog Not Found:perl - to goto or not to goto, that's the continuation](https://cdn-ak-scissors.b.st-hatena.com/image/square/ead23b4adf742c17e81d3afe0231f57515b1071e/height=288;version=1;width=512/https%3A%2F%2Flivedoor.blogimg.jp%2Fdankogai%2Fimgs%2Fa%2F9%2Fa9ae7c97.png)