why i can not write subroutine between do and write? : [enter image description here][1]


[enter image description here][2]com/UqpSq.png


  [1]: https://i.stack.imgur.
  [2]: https://i.stack.imgur.com/El05K.png