tell function
来源:互联网 发布:动态测频软件 编辑:程序博客网 时间:2024/06/07 18:15
语法 :tell FH 或 tell (FN)
主要记录文件当前读取的位置。
DATA
aaa bbb cccddd eee
CODE
#!usr/bin/perl -wopen(F, "+<", "C:/Users/liuweic/Desktop/seek.txt") or die "can't open the file:$!";while(<F>){print $_;print tell F;print "\n";}close(F);
RESULT
aaa bbb ccc13ddd eee 23
注意:转载或复制本文,请注明出处和作者,作者:No. Liu
- tell function
- tell ........
- Python 3.1 Study notes 1: What a simple function can tell.
- tell.c
- tell OnDraw()&OnPaint()
- Tell me why
- Tell me why
- Tell me why
- Tell me why
- tell me why
- Tell me why
- who can tell me
- time will tell
- Tell, Don't Ask
- Tell Me Why
- Don't tell anyone
- Tell Me Why
- Tell,Don’t Ask!
- 图文版stagefright arch 03 -- how to choose decoder
- 使用Web服务
- 西安一村庄集资买客车当公交 交管称非法应取缔
- 笔试题收集
- Mac 下配置php环境
- tell function
- 图文版stagefright arch 04 -- video buffer Empty/Fill
- vb调用office OCR识别组件
- [MSSQL]SQL查询去除重复记录
- (本博客软件无法安装)install failed container error 的解决方法
- linux下线程编程的注意到和推荐做法
- OpenCv 直方图
- iphone或Android服务器端调用百度地图
- Activity与Service通信