diff options
author | Tzafrir Cohen <tzafrir@cohens.org.il> | 2009-05-24 17:02:36 +0300 |
---|---|---|
committer | Tzafrir Cohen <tzafrir@cohens.org.il> | 2009-05-24 17:02:36 +0300 |
commit | e07b80f91c00fcf5013fe2c7066008470d203d30 (patch) | |
tree | 184171ff1d0f2dfc0e2e1357b4a560d3b5ab7fe2 /examples/test1.pl |
Importing Asterisk::config 0.96 from tarball
Diffstat (limited to 'examples/test1.pl')
-rwxr-xr-x | examples/test1.pl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/test1.pl b/examples/test1.pl new file mode 100755 index 0000000..d8ec230 --- /dev/null +++ b/examples/test1.pl @@ -0,0 +1,10 @@ +#!/usr/bin/perl +use Data::Dumper; +use lib '../lib'; +use Asterisk::config; + +my $rc = new Asterisk::config(file=>'sip.conf',keep_resource_array=>0); +if ($rc) { + print "true"; +} +print Dumper $rc; |