http://www.perlmonks.org?node_id=375112


in reply to Making sense of "write"??

^ doesn't really mean wrap the line.

What it does is put as much text into the field as it can, then remove that text from the variable so the next time it's used, the next part of the text will be filled in.

@ doesn't do this, so combined with the ~~, which means to repeat over and over until the variable is empty, you get the first part over and over again.

You can find much more info on Forms in perldoc perlform.