/
usr
/
lib
/
x86_64-linux-gnu
/
perl-base
/
/usr/lib/x86_64-linux-gnu/perl-base
mkdir
upload
Name
Size
Mode
Actions
auto/
-
0755
rm
Carp/
-
0755
rm
Exporter/
-
0755
rm
File/
-
0755
rm
Getopt/
-
0755
rm
Hash/
-
0755
rm
IO/
-
0755
rm
IPC/
-
0755
rm
List/
-
0755
rm
Scalar/
-
0755
rm
Text/
-
0755
rm
Tie/
-
0755
rm
unicore/
-
0755
rm
warnings/
-
0755
rm
attributes.pm
3069
0644
edit
dl
rm
AutoLoader.pm
5487
0644
edit
dl
rm
base.pm
8912
0644
edit
dl
rm
bytes.pm
489
0644
edit
dl
rm
bytes_heavy.pl
758
0644
edit
dl
rm
Carp.pm
25398
0644
edit
dl
rm
Config.pm
3216
0644
edit
dl
rm
Config_git.pl
409
0644
edit
dl
rm
Config_heavy.pl
55332
0644
edit
dl
rm
constant.pm
5737
0644
edit
dl
rm
Cwd.pm
17657
0644
edit
dl
rm
DynaLoader.pm
10493
0644
edit
dl
rm
Errno.pm
4931
0644
edit
dl
rm
Exporter.pm
2336
0644
edit
dl
rm
Fcntl.pm
2156
0644
edit
dl
rm
feature.pm
5675
0644
edit
dl
rm
fields.pm
5008
0644
edit
dl
rm
FileHandle.pm
2111
0644
edit
dl
rm
integer.pm
172
0644
edit
dl
rm
IO.pm
469
0644
edit
dl
rm
lib.pm
2284
0644
edit
dl
rm
locale.pm
3451
0644
edit
dl
rm
overload.pm
4488
0644
edit
dl
rm
overloading.pm
964
0644
edit
dl
rm
parent.pm
460
0644
edit
dl
rm
POSIX.pm
20384
0644
edit
dl
rm
re.pm
9705
0644
edit
dl
rm
SelectSaver.pm
344
0644
edit
dl
rm
Socket.pm
13828
0644
edit
dl
rm
strict.pm
1606
0644
edit
dl
rm
Symbol.pm
2205
0644
edit
dl
rm
utf8.pm
341
0644
edit
dl
rm
vars.pm
1148
0644
edit
dl
rm
warnings.pm
27559
0644
edit
dl
rm
XSLoader.pm
3967
0644
edit
dl
rm
Edit:
/usr/lib/x86_64-linux-gnu/perl-base/FileHandle.pm
(2111B)
package FileHandle; use 5.006; use strict; our($VERSION, @ISA, @EXPORT, @EXPORT_OK); $VERSION = "2.03"; require IO::File; @ISA = qw(IO::File); @EXPORT = qw(_IOFBF _IOLBF _IONBF); @EXPORT_OK = qw( pipe autoflush output_field_separator output_record_separator input_record_separator input_line_number format_page_number format_lines_per_page format_lines_left format_name format_top_name format_line_break_characters format_formfeed print printf getline getlines ); # # Everything we're willing to export, we must first import. # IO::Handle->import( grep { !defined(&$_) } @EXPORT, @EXPORT_OK ); # # Some people call "FileHandle::function", so all the functions # that were in the old FileHandle class must be imported, too. # { no strict 'refs'; my %import = ( 'IO::Handle' => [qw(DESTROY new_from_fd fdopen close fileno getc ungetc gets eof flush error clearerr setbuf setvbuf _open_mode_string)], 'IO::Seekable' => [qw(seek tell getpos setpos)], 'IO::File' => [qw(new new_tmpfile open)] ); for my $pkg (keys %import) { for my $func (@{$import{$pkg}}) { my $c = *{"${pkg}::$func"}{CODE} or die "${pkg}::$func missing"; *$func = $c; } } } # # Specialized importer for Fcntl magic. # sub import { my $pkg = shift; my $callpkg = caller; require Exporter; Exporter::export($pkg, $callpkg, @_); # # If the Fcntl extension is available, # export its constants. # eval { require Fcntl; Exporter::export('Fcntl', $callpkg); }; } ################################################ # This is the only exported function we define; # the rest come from other classes. # sub pipe { my $r = IO::Handle->new; my $w = IO::Handle->new; CORE::pipe($r, $w) or return undef; ($r, $w); } # Rebless standard file handles bless *STDIN{IO}, "FileHandle" if ref *STDIN{IO} eq "IO::Handle"; bless *STDOUT{IO}, "FileHandle" if ref *STDOUT{IO} eq "IO::Handle"; bless *STDERR{IO}, "FileHandle" if ref *STDERR{IO} eq "IO::Handle"; 1; __END__
Save
cmd:
run