I couldn't get sprintf to pad with a certain character and left-justify at the same time - maybe someone else can suggest something?# ... $packet = sprintf("%-60s",$packet); $packet =~ s/\s/\0/sg; #<-- kludgey #...
In reply to Re: Creating trailer on packets
by kwaping
in thread Creating trailer on packets
by mosh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |