in reply to Can't modify subroutine entry in scalar assignment

Looks like you forgot the $ sign on the line:

scythe{ phork("ebbackup", "-l0", "default") } = \&baitKiller;

Should be:

  $scythe{ phork("ebbackup", "-l0", "default") } = \&baitKiller;

I'm not sure that's exactly your problem but it might help. Btw, use strict probably would've caught that with a more helpful error (bareword not allowed or some such).

bbfu
Seasons don't fear The Reaper.
Nor do the wind, the sun, and the rain.
We can be like they are.

Replies are listed 'Best First'.
Re: Re: Can't modify subroutine entry in scalar assignment
by daniell (Sexton) on Jan 30, 2001 at 11:10 UTC
    Oh man; that's what I get for staying at work for um... 14 hours and writing a lot of perl. thanks.

    -daniel