#!/usr/bin/perl -w use strict; use warnings; my $var = do { local $/; }; print "\$var = \"$var\""; __DATA__ a, b a,b a,b