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
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
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
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
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
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
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.
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
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
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
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
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
Hi all,
what is the relation between Perl version , Perl byteloader OS
version??
could u direct me the correct links???
Thanks.
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
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)
--- [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 ¨¤
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
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/
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
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
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
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
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.
23 matches
Mail list logo