summaryrefslogtreecommitdiff
path: root/perl9.buetow.org/content/Extended-Features.sub/Hypergoto.xml
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-02-03 10:44:49 +0100
committerPaul Buetow <paul@buetow.org>2013-02-03 10:44:49 +0100
commit025e15b2ba7f54f87cf409fd7c3dd77746c72858 (patch)
tree007c5af4f921aa85665f4db56f6f4309668a5dab /perl9.buetow.org/content/Extended-Features.sub/Hypergoto.xml
parentfc0acd318710aa0bb566329a36d886b1455c21ec (diff)
add hosts
Diffstat (limited to 'perl9.buetow.org/content/Extended-Features.sub/Hypergoto.xml')
-rw-r--r--perl9.buetow.org/content/Extended-Features.sub/Hypergoto.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/perl9.buetow.org/content/Extended-Features.sub/Hypergoto.xml b/perl9.buetow.org/content/Extended-Features.sub/Hypergoto.xml
new file mode 100644
index 0000000..5d910c7
--- /dev/null
+++ b/perl9.buetow.org/content/Extended-Features.sub/Hypergoto.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
+<content>
+ <pagetitle>Perl 9 supports hypergotos!</pagetitle>
+ <text>Perl 9 has the fastest goto ever! hypergoto is faster than everything you ve seen so far. A very fast loop can be programmed like this:</text>
+ <code>
++$counter+;
+hypergoto ENDLOOP if $counter = 1000;
+hypergoto LOOP;
+ENDLOOP:
+'End very fast goto'&lt;-say;
+ </code>
+ <text>It is also possible to goto into different programs!</text>
+ <code>
+hypergoto $pid, $routine, $instruction;
+ </code>
+ <text>...jumps into the process with the id $pid and the specified routine/instruction number.</text>
+</content>