spigwitmer/RecordStream — comment on commit 2271e5bc1803a8b9ea80184da7f58db37327f6a0
File: lib/App/RecordStream/Operation/togdgraph.pm line 134
By benbernard:

dont do '>' . $this... you whant the file to be the next argument, not concatenated with '>', so the line should be:

open(IMG, '>', $this->{'PNG_FILE}) or die $!

also, change the die to: die "Could not open file for writing $this->{PNG_FILE}: $!"