On Wed, Apr 11, 2001 at 12:07:22PM +0100, Simon Myers wrote:
> but is there a less verbose way, the equivalent of the Unix #! line?

.pl files are associated with Perl during the AS install on some platforms
(NT, notably).  YMMV.

> Related to that, is there a way of embedding the -w flag directly in
> scripts, like it can be on the Unix #! line?

Yes.

        #!perl -w

Works peachy.  Of course, you still need the association in the registry
or you'll still have to run the scripts with "perl foo.pl", but the -w
switch will do the Right Thing like this.

> Obvious I can't expect Unix manpages, but does the perldoc command work
> on Windows?

Yes, but the pager used is a little...uh..lame.  Searching isn't there,
going backwards doesn't always work and ^C sometimes causes an application
error...

c:\perl\html has a nicely formatted set of docs under AS.

> What do you pass as the second parameter to the mkdir() function, since
> an octal permission number doesn't make a lot of sense on Windows?

Doesn't matter, it's ignored.

-- 
    Clinton A. Pierce              Teach Yourself Perl in 24 Hours  *and*
  [EMAIL PROTECTED]         Perl Developer's Dictionary -- May 2001
"If you rush a Miracle Man,     for details, see http://geeksalad.org     
        you get rotten Miracles." --Miracle Max, The Princess Bride

Reply via email to