A very nice post. Learned something, thanks!
Matt
--- Michael Lamertz <[EMAIL PROTECTED]> wrote:
> On Wed, Feb 06, 2002 at 03:05:29PM +0100, Jorge Goncalvez wrote:
> > I tried this:
> > @Symlink=("$program_path\\install.lnk",
> > "$program_path\\linux.ram.lnk",
> >
On Wed, Feb 06, 2002 at 03:05:29PM +0100, Jorge Goncalvez wrote:
> I tried this:
> @Symlink=("$program_path\\install.lnk",
>"$program_path\\linux.ram.lnk",
>"$program_path\\alize\\install.lnk",
>"$program_path\\alize\\start
Also I think you need to put the call to phrase the system command like this:
system("rm $_");
But perl has unlink, which is cleaner and could give you style points (this coming
from someone who has little perl style, of course!).
So you could (should?) just say:
foreach (@Symlink) { unlink if
On Wed, Feb 06, 2002 at 03:05:29PM +0100, Jorge wrote:
> I tried this:
> @Symlink=("$program_path\\install.lnk",
>"$program_path\\linux.ram.lnk",
>"$program_path\\alize\\install.lnk",
>"$program_path\\alize\\startup.txt.lnk