Prev: FAQ 4.72 How do I determine whether a scalar is a number/whole/integer/float?
Next: FAQ 8.1 How do I find out which operating system I'm running under?
From: John Bokma on 12 Jun 2010 02:43 "Uri Guttman" <uri(a)StemSystems.com> writes: > it matters on winblows. I guess you mean Windows? -- John Bokma j3b Hacking & Hiking in Mexico - http://johnbokma.com/ http://castleamber.com/ - Perl & Python Development
From: sln on 12 Jun 2010 11:45
On Fri, 11 Jun 2010 20:31:02 -0500, Tad McClellan <tadmc(a)seesig.invalid> wrote: >sln(a)netherlands.com <sln(a)netherlands.com> wrote: >> On Fri, 11 Jun 2010 12:48:17 -0500, John Bokma <john(a)castleamber.com> wrote: >> >>>Tad McClellan <tadmc(a)seesig.invalid> writes: >>> >>>> Use binmode on binary files. >>>> >>>> Do not use binmode on text files. >>> >>>/unless/ you want the data as it is on disk, for example to >>>calculate a check sum. >>> >> Semantics! You wouldn't create a check sum on a text file. > > >I create checksums on text files fairly often. Oh yeah, for what? Spend a lot of time on it do ya? > > >> Otherwise it wouldn't be a text file, it would be >> a binary file. > > >Nonsense! ???? You mean no sense. Its semantics.. > >What makes you think that taking a checksum changes a file's type? What is a file type and how do you change it? Oh yeah, you create checksums on text files all the time. |