Andrea Holstein wrote:
> 
> Henry Hung-Yung Wang wrote:
> >
> > @dna=split (//, $dna);
> 
> What's your regexp to split.
> split //, $dna uses the last regexp used in the program.
> Perhaps you meant split /\w/, $dna ?!

Are you sure?

$ perl -le'$_ = "This is a test of split."; print "Found" if /test/; @z
= split //; print join "\n", @z'
Found
T
h
i
s
 
i
s
 
a
 
t
e
s
t
 
o
f
 
s
p
l
i
t
.




John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to