Perl formline Function
This function is used by the format function and related operators. It formats LIST according to the contents of PICTURE into the output accumulator variable $^A. The value is written out to a filehandle when a write is done.
Following is the simple syntax for this function −
formline PICTURE, LIST
This function always returns 1.
Following is the example code showing its basic usage −
When above code is executed, it produces the following result −