neingeist
/
arduinisten
Archived
1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

15 lines
252 B
Perl

#!/usr/bin/perl
use strict;
my @lines = <>;
# P1
# # CREATOR: GIMP PNM Filter Version 1.1
# 5 8
# 1000101010101011111101110100011000101010
$lines[0] eq "P1\n" or die "First line should read 'P1' for Plain PBM";
for (my $line=0; $line <= $#lines;