in reply to Re^3: POE - can't increment within sub
in thread POE - can't increment within sub

but you have
$stuff = $format_sequence_number . 'READ' . '00000'; $heap->{server}->put($stuff);
And you don't change $format_sequence_number? Also, what's the point of my $format_sequence_number = sprintf("%s", $sequence_number); I don't understand what that's supposed to accomplish.

Replies are listed 'Best First'.
Re^5: POE - can't increment within sub
by ljamison (Sexton) on Dec 12, 2015 at 15:05 UTC

    For whatever reason, before I used the sprintf on the scalar, when the code would run it would consistently output 1READ instead of 00001READ