Jerome Quelin > Language-Befunge > Language::Befunge::lib::REFC

Download:
Language-Befunge-4.13.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

Language::Befunge::IP::lib::REFC - Referenced cells extension

DESCRIPTION ^

The REFC fingerprint (0x52454643) allows vectors to be encoded into and decoded from single scalar cell values.

Note that the internal list of references is considered shared among all IP's.

FUNCTIONS ^

new

Create a new REFC instance.

De/Referencing

$id = R( $x, $y )

Reference pops a vector off the stack, and pushes a scalar value back onto the stack, unique within an internal list of references, which refers to that vector.

($x, $y) = D( $id )

Dereference pops a scalar value off the stack, and pushes the vector back onto the stack which corresponds to that unique reference value.

SEE ALSO ^

Language::Befunge, http://catseye.tc/projects/funge98/library/REFC.html.

AUTHOR ^

Jerome Quelin, <jquelin@cpan.org>

COPYRIGHT & LICENSE ^

Copyright (c) 2001-2009 Jerome Quelin, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: