The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
fuction return in perl
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Rules & FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
fuction return in perl
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
05-15-2008
era
Herder of Useless Cats
Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,091
Printing it and having Perl capture the output is a perfectly good way to do that, or do you think otherwise?
In theory, you could make your C function callable directly from Perl, by wrapping it in something called XS. See
man perlxstut
era
View Public Profile
Visit era's homepage!
Find all posts by era