From: nobu.nokada@... Date: 2002-08-11T14:42:02+09:00 Subject: Re: Something that corresponds to Perl's -T and -B tests? Hi, At Sun, 11 Aug 2002 12:42:50 +0900, Lloyd Zusman wrote: > Well, to me, the textfile? and binaryfile? methods seem closer in > meaning to the file?, directory?, etc. methods of File::Stat. And if > I'm not mistaken, the necessity to inspect the data inside of a file in > order to determine whether it's a text file or binary file is > OS-specific ... I believe that there are some OS's where this is just an > attribute of a file that can be determined by making some sort of system > call, in a similar way to which the inode, device, etc. are returned via > the Unix stat() system call. It's true certainly in particular system but not in many others. I don't guess it's common and feel Stat is too restrictive to bind text/binary-ness. > >> def initialize(arg) > >> @item = arg > > super > >> end > > ??? "super" doesn't work in place of __old_initialize(arg) in my code. > Neither does "super(arg)". What would the superclass be in this case? Oops, it wasn't a subclass but Stat itself, sorry. -- Nobu Nakada