in reply to Connect gawk via perl to fastagi and asterisk
It may not work with a full gawk program however and the resulting Perl that it produces isn't very pretty.
There is a module called Inline::Awk that uses a2p as a back end to allow you to include your awk functions or entire program in a Perl program.
It will only work if your program compiles with a2p and even them it isn't a great solution.
Otherwise, you could just open a pipe to your gawk program/process from within your Perl program. See perlopentut for some examples. Or perhaps someone else here with FastCGI experience can point you in the direction of doing it efficiently in that environment.
--
John.
|
|---|