Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
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; $op.print for [X]('>', $aa xx $peplen); $op.close;
I can see the result on my command prompt, but can't see anything on my text file. Any help or suggestions will be greatly appreciated it. Thank you!!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl 6, arrays, hashes, subroutines & basic file IO
by raiph (Deacon) on Oct 16, 2013 at 15:44 UTC |