how to write a "od -bc" like function?
- From: "jck11" <jck11@xxxxxxxxxxxxxxxxx>
- Date: Fri, 31 Aug 2007 10:52:01 +0800
hi all
Could any one give me a direction to write a function to match the unix-like
function "od -bc" do.
Now I only get the idea of opening the file.
open(IN, "filename")or die;
my $str=<IN>;
..............
close(IN);
By the way, if the file is a exe or image type, the $str seems don't work
correctly.
.
- Follow-Ups:
- Re: how to write a "od -bc" like function?
- From: Josef Moellers
- Re: how to write a "od -bc" like function?
- From: A. Sinan Unur
- Re: how to write a "od -bc" like function?
- From: John W. Krahn
- Re: how to write a "od -bc" like function?
- Prev by Date: DBD::SQLite FreeBSD install
- Next by Date: Re: how to write a "od -bc" like function?
- Previous by thread: DBD::SQLite FreeBSD install
- Next by thread: Re: how to write a "od -bc" like function?
- Index(es):