in reply to mechanize submission is all one line and loses line breaks reading input

Have you tried the following to produce CRLF line-breaks for your multi-line description field?

my $input_data = read_file( 'C:/temp/vpn_user.txt' ); $input_data =~ s/\n/\r\n/g;
  • Comment on Re: mechanize submission is all one line and loses line breaks reading input
  • Download Code

Replies are listed 'Best First'.
Re^2: mechanize submission is all one line and loses line breaks reading input
by Anonymous Monk on Sep 22, 2012 at 12:20 UTC
    this got me there there; however, on things that were double spaced are now single spaced. :)