You can then pass the returned variable to WriteChar to restore the saved characters on screen. ReadAttr , ReadRect . Returns a string containing the rectangle read, or undef on errors. The cells left empty as a result of the move are filled with the character char and attribute attr . Optionally you can specify a clipping region with cleft , ctop , cright , cbottom , so that the content of the console outside this rectangle are unchanged.
Returns undef on errors, a nonzero value on success.
Returns undef on errors, a nonzero value on success. Gets or sets the current console window size. If called without arguments, returns a 4-element list containing the current window coordinates in the form of left , top , right , bottom . Returns the number of characters written or undef on errors. Returns the number of attributes written or undef on errors.