Mike Martin wrote:
Its actually a word wrap function, because I couldn't get Text::Wrap or Gtk wrap to work right.
Like this: use strict; use warnings; use Text::Wrap; my $string="ffmpeg -v 2 -i \"/home/mike/vcr58uc.avi\" -itsoffset -0.1 -i \"/home/mike/vcr58uc.avi\" -target dvd -y -s 352x288 -qscale 5 -bf 2 -g 15 -acodec mp2 -ac 2 -ab 64kk -me_range 63 -aspect 4:3 -map 1:0 -map 0:1 \"/home/mike/vcr58ucen.vob\""; $Text::Wrap::columns = 50; print wrap('', '', $string); Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/