in reply to Re: printing is not printing the full string
in thread printing is not printing the full string

thanks a lot Crackers.
# buffering the newschema { @schema_migration = <SMI>; map { $_ =~ s/[\n\r]//g } @schema_migration; } print "\n"; print "\nout :$schema_migration[3]:\n"; exit;
the above correction worked for me as expected. thanks once again.

Replies are listed 'Best First'.
Re^3: printing is not printing the full string
by holcapek (Sexton) on Oct 30, 2006 at 06:34 UTC
    IMO s/\r?\n// is more general as it removes \r only if present (Windows) yet \n everytime (both Windows and Un*x). (No one cares of old MacOS (-; )