diff options
Diffstat (limited to 'docs/pod/fype.pod')
| -rw-r--r-- | docs/pod/fype.pod | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/pod/fype.pod b/docs/pod/fype.pod index 1e29a6d..5006345 100644 --- a/docs/pod/fype.pod +++ b/docs/pod/fype.pod @@ -144,7 +144,7 @@ All paranthesis of function calls are optional. They help to make the code bette =head2 Scopeing -A new scope starts with an { and ends with an }. An exception is a procedure, which does not use its own scope (see later in this manual). Control statements and functions support scopeings. Here is a small example how to use scopes: +A new scope starts with an { and ends with an }. An exception is a procedure, which does not use its own scope (see later in this manual). Control statements and functions support scopeings. The B<scope> function will print out all available symbols at the current position. Here is a small example of how to use scopes: my foo = 1; @@ -156,6 +156,10 @@ A new scope starts with an { and ends with an }. An exception is a procedure, wh # Prints out 1 put defined bar; + + # Prints out all available symbols at this + # point to stdout. Those are: bar and foo + scope; } # Prints out 0 |
