How to set uid ?

2005-08-03 Thread Prasad J Pandit
Hello friends ! Does any one know how to set user-id in perl script? I mean counter-part of setuid() in perl ?? Regards -Prasad PS: Please don't send me html/attachment/Fwd mails Start your day with Yahoo! - make it

A file-handle query

2005-06-24 Thread Prasad J Pandit
Hello there! I'm a novice perl programmer and I'm trying to pass a File-Handle to two different subroutines one after the other as follows #!/usr/bin/perl -w use strict; my $FH; open($FH, filename) || die Could not open file! \n; func_one(\*$FH); func_two(\*$FH); exit(0); sub func_one {