Skip to content

Latest commit

 

History

History
executable file
·
20 lines (13 loc) · 368 Bytes

test_physfs.pl

File metadata and controls

executable file
·
20 lines (13 loc) · 368 Bytes
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/perl -w
use strict;
use warnings;
use physfs;
print "testing PhysicsFS Perl bindings...\n";
print "init...\n";
physfs::init("$0") or die("physfs::init('$0'): ".physfs::getLastError()."\n");
print "user dir: ", physfs::getUserDir(), "\n";
print "base dir: ", physfs::getBaseDir(), "\n";
print "deinit...\n";
physfs::deinit();
print "done!\n";
exit 0;