Hi All,

https://docs.perl6.org/routine/write

      (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.



This:
   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,
-T

Reply via email to