David Boyce wrote:
> > How is that re-execution done?
>
> On UNIX it's straightforward: "exec $^X ,$0, @ARGV" out of a BEGIN clause.
> On Windows I do "exit system $^X ,$0, @ARGV",
Huh? exec() works! At least on some versions of Windows.
> though since Perl's system()
> always exposes its argument to the shell...
Are you sure that's a fact on Windows?
It's definitely not true for unix.
The docs for exec() clearly state this.
--
John Porter
So take a pointed stick and touch Piggy's eyes
He's gonna turn and leave you a big surprise