Skip to content

Instantly share code, notes, and snippets.

Created October 16, 2013 17:41
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save anonymous/7011819 to your computer and use it in GitHub Desktop.
use v6;
my $aa = <A L C>;
my $peplen = 4;
.print for [X]('>', $aa xx $peplen);
my $filename = "amino_acid.txt";
my $op = open $filename, :a;</br>
$op.print for [X]('>', $aa xx $peplen);
$op.close;
@grondilu
Copy link

7s/print/&($_)/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment