On 09/22/2017 11:09 PM, ToddAndMargo wrote:
Hi All,


       (IO::Handle) method write
       Defined as:
       method write(IO::Handle:D: Blob:D $buf --> True)

       Writes $buf to the filehandle. This method can be called
       even when the handle is not in binary mode.

    48:   my $Handle = open( $DateFile, :rw )
    53:   write( $Handle, $OldDateTime );
    67:   write( $Handle, $DateTime );

gives me this:
    Undeclared routine: write used at lines 53, 67

Huh?  Seems to me I am follow the directions.  What am
I doing wrong?

Many thanks,

This worked:
    $Handle.print( "$DateTime\n" );

But I still what to know what was wrong with the
way I interpreted the manual


Computers are like air conditioners.
They malfunction when you open windows

Reply via email to