G
Graham Smith
must be doing something daft but text::reform not wrapping whole words
(sometimes)
my program:
use Text::Reform;
my $format1 = "
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[";
print form $format1, "A piece of text just long enough to demonstrate
peculiar behaviour in this test";
my $format2 = "
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[";
print form $format2, "A piece of text just long enough to demonstrate
peculiar behaviour in this test";
results (under Window XP Pro):
C:\perlSrcs\ebay\test>perl test_reform.pl
A piece of text just long enough to demonstrate peculiar be-
haviour in this test
A piece of text just long enough to demonstrate peculiar
behaviour in this test
why is first use hyphenating word?
(sometimes)
my program:
use Text::Reform;
my $format1 = "
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[";
print form $format1, "A piece of text just long enough to demonstrate
peculiar behaviour in this test";
my $format2 = "
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[";
print form $format2, "A piece of text just long enough to demonstrate
peculiar behaviour in this test";
results (under Window XP Pro):
C:\perlSrcs\ebay\test>perl test_reform.pl
A piece of text just long enough to demonstrate peculiar be-
haviour in this test
A piece of text just long enough to demonstrate peculiar
behaviour in this test
why is first use hyphenating word?