3 # This file is part of Language::Befunge.
4 # Copyright (c) 2001-2008 Jerome Quelin, all rights reserved.
6 # This program is free software; you can redistribute it and/or modify
7 # it under the same terms as Perl itself.
11 #--------------------------------#
13 #--------------------------------#
16 use Language::Befunge;
17 use POSIX qw! tmpnam !;
25 my $bef = Language::Befunge->new;
28 # In order to see what happens...
31 open OUT, ">$file" or die $!;
37 open OUT, "<$file" or die $!;
48 # TEST.pm and this test script share the same plan.
54 $bef->store_code( <<'END_OF_CODE' );
61 $bef->store_code( <<'END_OF_CODE' );
62 0"TSET"4(0"dnammoc O"1O)@
68 $bef->store_code( <<'END_OF_CODE' );
69 0"TSET"4(0"dnammoc I"44I)@