Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: How to fetch groups and users on a win2k system

by softworkz (Monk)
on Oct 11, 2002 at 12:51 UTC ( [id://204486]=note: print w/replies, xml ) Need Help??


in reply to Re: How to fetch groups and users on a win2k system
in thread How to fetch groups and users on a win2k system

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re: Re: How to fetch groups and users on a win2k system

Replies are listed 'Best First'.
Re: Re: Re: How to fetch groups and users on a win2k system
by thunders (Priest) on Oct 11, 2002 at 14:42 UTC

    turning on warnings is a plus. But In general the entire she-bang line is mostly unnecessary on a windows specific application. Active State creates an association between .pl files and perl.exe. The windows shell ignores everything but the switches.

    I generally use it to enable warnings and for future compatibility if i ever need to port the script to a *NIX box. But for an app that uses Win32::* this is a moot point, and I'd argue against that being "wrong". under Apache for Windows the she-bang matters and is usually simply #!perl

      Speaking of perl on win32 - I have some half-way-useful-as-a-quick-reference 8.5x11 6-sided fold-out laminated chart of random perl tomfoolery. One of the small sections it has near the very end is 'environment variables' where it mentions
      PERL5OPT - Default Command-Line Switches
      I'm wondering.. this real? Anyone have the docs on syntax for setting '-w' or the like into your default switches on win32?

      I'd bet they're right in front of me, and I should be spanked for not having seen them or searched long and hard. But I'm not much of a betting man, I'd wager.
      -=rev=-
Re: Re: Re: How to fetch groups and users on a win2k system
by fredopalus (Friar) on Oct 11, 2002 at 13:18 UTC
    just because warnings wasn't turned on in the shebang doesn't mean you can't just do:
    use warnings;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://204486]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2024-04-25 11:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found