Created
October 16, 2013 17:41
-
-
Save anonymous/7011819 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
7s/print/&($_)/