diff options
| author | Mohammad S Anwar <Mohammad.Anwar@yahoo.com> | 2019-10-13 10:21:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-13 10:21:50 +0100 |
| commit | a62eda85606f9705d85659a8f596b135099f7a8c (patch) | |
| tree | a5378be168b206b31bc7fb22794f87f5a18a6f63 | |
| parent | 519491516bb2c0e750e118895dab93df863e95d2 (diff) | |
| parent | ba6103df01166819ea924ad69fe49ed9a28eccd5 (diff) | |
| download | perlweeklychallenge-club-a62eda85606f9705d85659a8f596b135099f7a8c.tar.gz perlweeklychallenge-club-a62eda85606f9705d85659a8f596b135099f7a8c.tar.bz2 perlweeklychallenge-club-a62eda85606f9705d85659a8f596b135099f7a8c.zip | |
Merge pull request #751 from kolcon/master
029 Chal 2 LK
| -rw-r--r-- | challenge-029/lubos-kolouch/perl5/ch-2.pl | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/challenge-029/lubos-kolouch/perl5/ch-2.pl b/challenge-029/lubos-kolouch/perl5/ch-2.pl new file mode 100644 index 0000000000..bd11741d01 --- /dev/null +++ b/challenge-029/lubos-kolouch/perl5/ch-2.pl @@ -0,0 +1,37 @@ +#!/usr/bin/perl +#=============================================================================== +# +# FILE: ch-2.pl +# +# USAGE: ./ch-2.pl +# +# DESCRIPTION: https://perlweeklychallenge.org/blog/perl-weekly-challenge-029/ +# +# Write a script to demonstrate calling a C function. It could be any user defined or standard C function. +# +# OPTIONS: --- +# REQUIREMENTS: --- +# BUGS: --- +# NOTES: --- +# AUTHOR: YOUR NAME (), +# ORGANIZATION: +# VERSION: 1.0 +# CREATED: 10/12/2019 07:55:51 PM +# REVISION: --- +#=============================================================================== + +use strict; +use warnings; +use feature qw/say/; + +use Inline C => << 'END'; + +void print_c() { + printf("test"); +} + +END + +print_c; + + |
