Language::Befunge::lib::STRN - string extension
version 5.000
The STRN fingerprint (0x5354524E) allows to work with strings.
Create a new STRN instance.
Print $str on STDOUT.
$str
Input a string and push it back on the stack.
Push back $s1 . $s2 on the stack.
$s1 . $s2
Push back $s1 cmp $s2 on the stack.
$s1 cmp $s2
Push back the longest suffix of $s1 starting with $s2.
$s1
$s2
Push back on the stack substr $s, 0, $n (left of string).
substr $s, 0, $n
Push back on the stack substr $s, m, $n (middle of string).
substr $s, m, $n
Push back $length of $str.
$length
Push back on the stack substr $s, -$n (right of string).
substr $s, -$n
The following functions take the storage offset into account.
Read string from $vec, using a velocity of (1,0, ..) till it finds a null cell. Reflects if no null cell found.
$vec
Put string $str at position $vec.
Push back the string representation of $n.
$n
Push back the numerical value of str.
str
http://www.rcfunge98.com/rcsfingers.html#STRN.
Jerome Quelin
This software is copyright (c) 2003 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Language::Befunge, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Language::Befunge
CPAN shell
perl -MCPAN -e shell install Language::Befunge
For more information on module installation, please visit the detailed CPAN module installation guide.