[Asterisk-Users] perl database get

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Tue Dec 23 11:07:12 MST 2003


On Tuesday 23 December 2003 10:20, Muhammad Nasim wrote:
> Does anyone have any example perl agi script that does a database
> get. I am being thick and can't seem to get the return value:
>
> print "DATABASE PUT big bigger biggest \n";      This bit works
> fine print "DATABASE GET big bigger \n";
> Now what do I do to get the my value from the database get??

$result = <>;
or more explicitly:
$result = <STDIN>;

The real answer, though, is to point you to the Perl module at
http://asterisk.gnuinter.net and tell you that all of these issues
have already been solved.

-Tilghman




More information about the asterisk-users mailing list