XP is just a number | |
PerlMonks |
Re: When call_argv() actualy executes functionby Corion (Patriarch) |
on Mar 31, 2015 at 12:41 UTC ( [id://1121973]=note: print w/replies, xml ) | Need Help?? |
How did you run the first example? Note that the first example expects a Perl program to be loaded from the command line which implements a routine with the name showtime. It's weird that your second example crashes when accessing ERRSV because that variable should always exist. According to the documentation, call_argv immediately calls your function. Note that you need to deal with the return values yourself in C.
In Section
Seekers of Perl Wisdom
|
|