Goksie schreef:
> #!perl
> use warnings ;
> use strict ;
> my $fl = "c:/Perl/CDR_MSC_DAT/00016363.DAT";
That is probably not a line-oriented file.
I would change that line to the more robust:
my $fl = q{c:/Perl/CDR_MSC_DAT/00016363.DAT} ;
because filenames can contain sigils etc.
> { loca
John W. Krahn wrote:
> Goksie wrote:
>
>> Tommy Nordgren wrote:
>>
>>> On 20 okt 2006, at 21.31, Goke Aruna wrote:
>>>
>>>
On 10/20/06, John W. Krahn <[EMAIL PROTECTED]> wrote:
> Goksie wrote:
>
>> Can someone advice me on how i can open .dat
Goksie wrote:
> Tommy Nordgren wrote:
>>On 20 okt 2006, at 21.31, Goke Aruna wrote:
>>
>>>On 10/20/06, John W. Krahn <[EMAIL PROTECTED]> wrote:
Goksie wrote:
>
>Can someone advice me on how i can open .dat file in perl script?
open my $fh, '<', '00016367.DAT' or die "Cannot open '00
On 10/24/06, Goksie <[EMAIL PROTECTED]> wrote:
Tommy Nordgren wrote:
> This might occur because you are trying to print the file handle
> instead of reading FROM it.
print $fh;
Yep, Tommy Nordgren nailed it.
If you want to read binary data from a filehandle, you probably want
to st
Tommy Nordgren wrote:
>
> On 20 okt 2006, at 21.31, Goke Aruna wrote:
>
>> On 10/20/06, John W. Krahn <[EMAIL PROTECTED]> wrote:
>>>
>>> Goksie wrote:
>>> > Thanks all for the past help
>>> >
>>> > Can someone advice me on how i can open .dat file in perl script?
>>>
>>> open my $fh, '<', '00016367
On 20 okt 2006, at 21.31, Goke Aruna wrote:
On 10/20/06, John W. Krahn <[EMAIL PROTECTED]> wrote:
Goksie wrote:
> Thanks all for the past help
>
> Can someone advice me on how i can open .dat file in perl script?
open my $fh, '<', '00016367.DAT' or die "Cannot open
'00016367.DAT' $!";
On Fri, 2006-10-20 at 18:11 +0200, Goksie wrote:
> Thanks all for the past help
>
> Can someone advice me on how i can open .dat file in perl script?
>
> The sample of the file is as attached.
>
> please, i need help on it.
$ file 00016367.DAT
00016367.DAT: MPEG ADTS, layer I, v1, Monaural
You
Goke Aruna wrote:
> On 10/20/06, John W. Krahn <[EMAIL PROTECTED]> wrote:
>>
>> Goksie wrote:
>> > Thanks all for the past help
>> >
>> > Can someone advice me on how i can open .dat file in perl script?
>>
>> open my $fh, '<', '00016367.DAT' or die "Cannot open '00016367.DAT' $!";
>
> Each time i
On 10/20/06, John W. Krahn <[EMAIL PROTECTED]> wrote:
Goksie wrote:
> Thanks all for the past help
>
> Can someone advice me on how i can open .dat file in perl script?
open my $fh, '<', '00016367.DAT' or die "Cannot open '00016367.DAT' $!";
John
--
Perl isn't a toolbox, but a small machine
Goksie wrote:
> Thanks all for the past help
>
> Can someone advice me on how i can open .dat file in perl script?
open my $fh, '<', '00016367.DAT' or die "Cannot open '00016367.DAT' $!";
John
--
Perl isn't a toolbox, but a small machine shop where you can special-order
certain sorts of tools
Thanks all for the past help
Can someone advice me on how i can open .dat file in perl script?
The sample of the file is as attached.
please, i need help on it.
goksie
>
ÿÿÿ
11 matches
Mail list logo