New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Perl version 5.6.1 AIX 5.1 - White spaces getting truncated using perl format #7148
Comments
From AInaganti@bankofny.comHi, my $fileName ="/tmp/anita/tempreport.rpt"; open(OUTFILE, ">$fileName") or die "Can't open $fileName file\n"; write(OUTFILE); format OUTFILE_TOP = @||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| +_________________________________________________________________________________________________________________________________+ format OUTFILE = ^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< This is the output: Here is the report: +_________________________________________________________________________________________________________________________________+ This is the version we are using: Copyright 1987-2001, Larry Wall Binary build 631 provided by ActiveState Tool Corp. Is this a known bug? If so was it fixed. Please let us know. Thanks ________________________________________________________________________ |
From @TuxOn Wed 03 Mar 2004 15:50, "AInaganti@bankofny.com (via RT)" <perlbug-followup@perl.org> wrote:
This is the way formats are to behave, especially when using ^<<<< This is no bug, but there is a workaround: a5:/tmp 104 > cat xx.pl use strict; format STDOUT = $_ = "abcdef"; And now make the lines longer: a5:/tmp 110 > cat xx.pl use strict; unless (open STDOUT, "|-") { format STDOUT = $_ = "abcdef"; close STDOUT; -- |
The RT System itself - Status changed from 'new' to 'open' |
@Tux - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#27349 (status was 'resolved')
Searchable as RT27349$
The text was updated successfully, but these errors were encountered: