Skip to content

Instantly share code, notes, and snippets.

@ynonp
Created May 26, 2012 15:44
Show Gist options
  • Save ynonp/2794368 to your computer and use it in GitHub Desktop.
Save ynonp/2794368 to your computer and use it in GitHub Desktop.
indented heredoc example
#############################################
#!/usr/intel/bin/perl
my $line1 = <<"DONEDONE";
yuval yuval yuval
DONEDONE
print $line1;
sub func {
my $line2 = <<"DONEDONE";
yuval yuval yuval
DONEDONE
}
&func();
#############################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment