Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    say -s 'empty.txt';
    say -z 'size.txt';
    say -z 'empty.txt';
    
  2. or download this
    8 # -s, 8 bytes
    0 # -s, empty file
      # -z, file has bytes
    1 # -z, file is empty