in reply to Capturing parentheses out of scope
} else { print $out2 $_; }
Update:
Also, if anyone can spot other potential issues with my code, I'd appreciate constructive criticism.You could store your string format in a variable, then use it in both printf statements:
You could also consider using Text::Table instead.my $fmt = "%-28s %-30s %-12s %-10s %-18s %-22s %-21s %s \n"; ... printf $fmt, $7, $1 ...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Capturing parentheses out of scope
by iangibson (Scribe) on Jan 20, 2011 at 21:12 UTC |