This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
463c238
)
perlpacktut: mention h2ph
author
Father Chrysostomos
<sprout@cpan.org>
Thu, 29 Aug 2013 05:40:47 +0000
(22:40 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Thu, 29 Aug 2013 05:40:47 +0000
(22:40 -0700)
Mentioning syscall.ph without saying how to get it is not
as helpful as it could be.
pod/perlpacktut.pod
patch
|
blob
|
blame
|
history
diff --git
a/pod/perlpacktut.pod
b/pod/perlpacktut.pod
index
7beee32
..
608a592
100644
(file)
--- a/
pod/perlpacktut.pod
+++ b/
pod/perlpacktut.pod
@@
-1142,7
+1142,7
@@
where a pointer is expected. The read(2) system call comes to mind:
After reading L<perlfunc> explaining how to use C<syscall> we can write
this Perl function copying a file to standard output:
- require 'syscall.ph';
+ require 'syscall.ph';
# run h2ph to generate this file
sub cat($){
my $path = shift();
my $size = -s $path;