initial commit
[urisagit/Perl-Docs.git] / experiment / seek.pl
CommitLineData
635c7876 1#!/usr/local/bin/perl
2
3use Fcntl qw( :seek ) ;
4my $tell = tell( \*DATA );
5my $sysseek = sysseek( \*DATA, 0, SEEK_CUR ) ;
6
7print "TELL $tell SYSSEEK $sysseek\n" ;
8
9__DATA__
10foo
11bar
12