Skip to content

Instantly share code, notes, and snippets.

Created October 16, 2013 17:41
Show Gist options
  • Save anonymous/7011819 to your computer and use it in GitHub Desktop.
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