in reply to Howto separate one file into three and refer to each of these three chuncks later on

First idea is that this is not the code you are running, since
print "$sectionname2\n";

$sectionname2 isn't defined anywhere, not to say it has to do with what split yields. Maybe you meant $chunk2?

Then, you spell "chunck", then "chunk". There be bugs! better use an array to split those chun(c)ks into:

@chunks = split ...

More thibgs could be said about the code you really are running... mind to post that?

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
  • Comment on Re: Howto separate one file into three and refer to each of these three chuncks later on
  • Select or Download Code

Replies are listed 'Best First'.
Re^2: Howto separate one file into three and refer to each of these three chuncks later on
by syphilis (Archbishop) on Jun 27, 2007 at 14:41 UTC
    More thibgs could be said

    shmem has a heavy cold :-)

    Cheers,
    Rob