perl script to modify LDAP.

2007-07-26 Thread Pradeep Mishra
Hi I am a beginner in perl and have tough time in writing a script which i need urgently. I would like to know the perl script to 1)modify passswords in LDAP for multiple users taking input from another file(which contains usernames and new passwords ) Thank you in advance. Regards Pradeep

RE: Html within code

2007-07-26 Thread Andrew Curry
I wouldn't say wrong no, but there are modules out there to make things easier such as the CGI module and multiple others. _ From: Johnson, Reginald (GTI) [mailto:[EMAIL PROTECTED] Sent: 25 July 2007 16:49 To: beginners@perl.org Subject: FW: Html within code Is coding this way

Re: perl script to modify LDAP.

2007-07-26 Thread rcook
Hi I am a beginner in perl and have tough time in writing a script which i need urgently. I would like to know the perl script to 1)modify passswords in LDAP for multiple users taking input from another file(which contains usernames and new passwords ) Thank you in advance. -- You need

Re: Test if string does not exist in an array.

2007-07-26 Thread yaron
Hi, Perl has a built in function that do just that: if (my $username = getpwuid($input_uid)) { print Founf the user $username\n; } else { print No user found\n; } for help try perldoc -f getpwent perldoc -f getpwnam perldoc -f getpwuid BFN Yaron Kahanovitch - Original Message

Re: Test if string does not exist in an array.

2007-07-26 Thread Paul Lalli
On Jul 26, 7:14 am, [EMAIL PROTECTED] (Snickwad) wrote: Apologies if this is a bit noobie, As a newbie, you may not be aware that Perl comes with a built-in FAQ. You can see the whole thing by typing at your command window: perldoc perlfaq But the specific question you care about is: $ perldoc

Re: Module Madness (must I install all these modules and libraries to get a graph?)

2007-07-26 Thread Paul Johnson
On Thu, Jul 26, 2007 at 09:40:36AM -0700, Inventor wrote: On Jul 26, 8:26 am, [EMAIL PROTECTED] (Mr. Shawn H. Corey) wrote: Welcome to Dependency Hell. (You know you're in trouble when there is a derogatory nickname for what you're doing.) You know what, rather than deal with

Re: FW: Html within code

2007-07-26 Thread Mr. Shawn H. Corey
Tom Phoenix wrote: On 7/25/07, Johnson, Reginald (GTI) [EMAIL PROTECTED] wrote: open (OMARFILE, junk || die input file cannot be openned:$!\n); No matter what virtues your technique has or lacks, this particular line is surely broken; it will never die, even if the file can't be opened.

Re: Module Madness (must I install all these modules and libraries to get a graph?)

2007-07-26 Thread Inventor
On Jul 26, 8:26 am, [EMAIL PROTECTED] (Mr. Shawn H. Corey) wrote: Welcome to Dependency Hell. (You know you're in trouble when there is a derogatory nickname for what you're doing.) You know what, rather than deal with Dependency Hell in multiple environments, this morning I wrote my own

Test if string does not exist in an array.

2007-07-26 Thread snickwad
Apologies if this is a bit noobie, but I have been left with a short window to write a tool and I have had no experience with Perl. Very familiar with Kornshell, and so far my Perl script is going okay. However, I am struggling to get a test working correctly. Is there a simple way to test if a

Re: Module Madness (must I install all these modules and libraries to get a graph?)

2007-07-26 Thread Mr. Shawn H. Corey
Inventor wrote: Must I really install the 3 modules plus the libraries b, c, d, and f above just to draw a simple jpg scatter plot? I don't even know how to install a library, just a module. When they say library in the README, do they really mean module? Welcome to Dependency Hell. (You

Re: perl script to modify LDAP.

2007-07-26 Thread rcook
Hi I am a beginner in perl and have tough time in writing a script which i need urgently. I would like to know the perl script to 1)modify passswords in LDAP for multiple users taking input from another file(which contains usernames and new passwords ) Thank you in advance. -- Oooops

Module Madness (must I install all these modules and libraries to get a graph?)

2007-07-26 Thread Inventor
Hi, and thanks for all your help so far. My program is running beautifully now, and I would like to add some data graphs. I read about GD::Graph, which tells me I need GD::Text::Align, which I learn is actually in GD::Text, plus the plain old GD. Then when I read the README in GD, it tells me

what is the relation bn Perl version , Perl byteloader OS version

2007-07-26 Thread sivasakthi
Hi all, what is the relation between Perl version , Perl byteloader OS version?? could u direct me the correct links??? Thanks.

Response to the question of how do you build and install PadWalker

2007-07-26 Thread rmzerby
This information answers the question of how do you build and install PadWalker. I could not find a concise explanation of how do you build and install this module

Re: perl script to modify LDAP.

2007-07-26 Thread Juan Pablo Feria Gomez
For multiple users, you need to 1. Open the file with the users names/password 2. Read that file 3. loop through the above command So I will let you tidy this up open (my $USERS,, /file/of/users-password) or die ..; while ($USERS){ chomp; my ($user, $password) = split; #(I guess)

Re: Help with Regex (UserName, Email)

2007-07-26 Thread Jeff Pang
--- [EMAIL PROTECTED] wrote: Hello! Help with Regex, Thanks in avance! 1. Validation of Name Enable ALL keys on keyboard EXCEPT 0, 1, 2., 9 Change to uppercase of 1st alphabet of every word and lowercase for the rest of the word. Example: aDa AdA 12DDD 12ddd dd12dd ¨¤

Help with Regex (UserName, Email)

2007-07-26 Thread rolinson
Hello! Help with Regex, Thanks in avance! 1. Validation of Name Enable ALL keys on keyboard EXCEPT 0, 1, 2., 9 Change to uppercase of 1st alphabet of every word and lowercase for the rest of the word. Example: aDa AdA 12DDD 12ddd dd12dd à Ada Ada 12Ddd 12Ddd Dd12dd a) If Name (0-2

Re:what is the relation bn Perl version , Perl byteloader OS version

2007-07-26 Thread Yonghua
Hi all, what is the relation between Perl version , Perl byteloader OS version?? See 'perldoc perlhist' for perl history list. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: what is the relation bn Perl version , Perl byteloader OS version

2007-07-26 Thread Chas Owens
On 7/26/07, sivasakthi [EMAIL PROTECTED] wrote: Hi all, what is the relation between Perl version , Perl byteloader OS version?? could u direct me the correct links??? Thanks. It sounds like you want to use bytecode generated by one version of Perl with another (or cross machine). The

Re: FW: Html within code

2007-07-26 Thread Tom Phoenix
On 7/25/07, Johnson, Reginald (GTI) [EMAIL PROTECTED] wrote: open (OMARFILE, junk || die input file cannot be openned:$!\n); No matter what virtues your technique has or lacks, this particular line is surely broken; it will never die, even if the file can't be opened. Check the table of

Re: Test if string does not exist in an array.

2007-07-26 Thread Chas Owens
On 7/26/07, snickwad [EMAIL PROTECTED] wrote: Apologies if this is a bit noobie, but I have been left with a short window to write a tool and I have had no experience with Perl. Very familiar with Kornshell, and so far my Perl script is going okay. However, I am struggling to get a test working

Re: Parsing large XML file - Revisited

2007-07-26 Thread Srikanth
On Jul 25, 9:11 pm, [EMAIL PROTECTED] (Mike Blezien) wrote: Rob, - Original Message - From: Rob Dixon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Mike Blezien [EMAIL PROTECTED] Sent: Wednesday, July 25, 2007 10:57 AM Subject: Re: Parsing large XML file - Revisited Mike Blezien

Re: Help with Regex (UserName, Email)

2007-07-26 Thread Prabu Ayyappan
Hi rolinson, Read perldoc perlrequick perldoc perlre perldoc perlretut perldoc perl perldoc perlfaq6 If you read this and if you tried something with this and still if you are facing some trouble you Post to the group with the doubts. Hope this helps you a lot.