Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Re: (Golf) Fragment Reassembly

by dws (Chancellor)
on May 03, 2001 at 04:43 UTC ( #77536=note: print w/ replies, xml ) Need Help??

in reply to Re: (Golf) Fragment Reassembly
in thread (Golf) Fragment Reassembly

When I try to invoke this via   print assemble qw(GATTACA ATTACA GATT AAGAT CCC);
I get   Modification of a read-only value attempted at line 2.
If I pass a copy of the array, Perl runs out of memory (PIII-600, 256Mb, ActiveState Perl 5.6.0).

The map looks suspicious.

Comment on Re: Re: (Golf) Fragment Reassembly
Select or Download Code
Replies are listed 'Best First'.
Re: Re: Re: (Golf) Fragment Reassembly
by indigo (Scribe) on May 03, 2001 at 21:44 UTC
    I'd strongly recommend not running this one with strings of length greater than 2...:)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://77536]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2015-10-10 01:11 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (254 votes), past polls