scan a UNIX file of a string

2001-09-14 Thread David Draley
Hello - I am trying to scan a UNIX file for a string. I used a filehandle to do this task - (Below) How would I complete the same taks without using filehandles? Would it be GREP?? -- #!/usr/local/bin/perl open (DD,"/etc/passwd") || die "cannot open: $!"; while ()

Re: scan a UNIX file of a string

2001-09-14 Thread Curtis Poe
--- David Draley <[EMAIL PROTECTED]> wrote: > Hello - > > I am trying to scan a UNIX file for a string. I used a filehandle to do > this task - (Below) How would I complete the same taks without using > filehandles? Would it be GREP?? > -- > #!/usr/local/bin/perl >

Win32::FileSecurity::Set() Woes

2001-09-14 Thread David Simcik
Hey folks, To sum things up, I've got two servers: one in an NT Domain and one not in an NT Domain. I would like to set NTFS permissions on shared directories residing on the server in the NT Domain using a Perl/CGI script running off of the other server without a domain. Big Problem. I've