Re: random string

2002-11-23 Thread rpayal
Hi,
Thanks for the mail.
> perldoc -f rand
> also,
> perldoc perlop
Thanks, I will.
> If that doesn't work, try asking your professor for help.
hehehehehee, I don't have any professor. I am not a student and I never
was a computer student. I am just a artist in fashion designing who does
Linux as a hobby.
Visit www.geocities.com/rpayal99 to know more.
Thanks a lot again and bye.
With regards.
-Payal

-- 
---
Contact :-  Linux Success Stories : -
   www.geocities.com/rpayal99
---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: random string

2002-11-23 Thread rpayal
Hi,
> By now you will probably have worked out that this community is very
> happy to help people of any ability to improve their Perl skills, but is
> rather reluctant just to hand out ready-made solutions.  This is as it
*please read the mail in full before commenting on *anything*. *
Yep, but this time I needed a ready made solution. This random string
generation program is a part of a big program written in bash by me. I
just couldn't spend time learning perl for this. I had to get this ready
ASAP. I asked if someone knew how to do this in bash and had any
pointers, but no one responded.
> I could certainly do so in a fraction of the time it will take to write
> this mail.  So why hasn't anyone just done that?
I have 3 solutions mailed privately. I will explain why they mailed me
privately in a article I intend to put on web.
> Some help to work on Perl development.  Some contribute to CPAN.  Some
> help others to learn in fora such as this.  Some don't.
Many, many more give unwanted advice. Believe me, I am not saying about
this list. This list is unusually friendly, but this is an attitude I
found in many people. 
Some people say that I have to pay for writing the script. Well, I don't
have that kind of money. Even $50 they ask for is big amount in India.
I mean a odd-job man can support a family of 3 for 3 months easily here
on that money. And I am also going to utilize this script for a school
project here which will be done free of cost.
> But then things took a turn for the worse.  You told us that you didn't
> know what to do with the advice and just wanted a solution.  I decided
Yes, I spoke the truth. I couldn't make heads and tails out of this. If
you had given only John's solution and a mail in Hebrew, 
I would have not able to make out the difference ;-)
> It looks as though you have already taught yourself a number of skills,
> including the ability to set up and maintain linux systems, networking,
> mail, vi and others.  It seems that Perl could be a useful tool for you,
yes, I *love* perl. Infact, I was inspired to learn Linux when i read a
perl success story by Chris Benson. (btw, did you sign the guest-book
:):):))
> and that you are willing and have the ability to work things out for
> yourself.
But python guys are insisting I start with Python which they say have
more systematic approach. Now, i am caught in a situation where I like
perl but cannot muster courage to learn it and and don't know if
there are people around to help Vs. python without any particular fondness,
yet am asked to learn it by people over the globe who have helped me a lot.
A Catch-22 case :)
To boil it down. I know Gurus in python and no one in perl. Whether they
will help me or not is a different question. But their mere presence
assures me. Forgive me for saying so, but your mail would have a more
impact if you had given me the solution along with the mail. Only this
advice leads a newbie to believe that perl is difficult
What I was asking was simple according to me
and when I didn't receive any concrete answers I was led to believe that
it cannot be accomplished in perl easily even by advanced users.

> was www.perl.org.  Right at the top is a like to learn.perl.org, and the
> first line there points us to perlintro.  This is a nice document which
> will get you started.
Ok. Now, in my TODO list.
> If all goes well, you should have written your first Perl program.  This
> might be the start of a wonderful journey for you.  There is a lot to
amen!!! I wish I can write col perl programs. I will be instant hit
here, especially with guys ;-)

Now for some shameless self promotion. 
Please visit the site www.geocities.com/rpayal99 and sign the
guest-book. I promised myself I will make it public once I have atleast
10 signs there or 1 sign of Linus Thorwalds whichever is earlier.

Thanks a lot for the help and bye.
-Payal

-- 
---
Contact :-  Linux Success Stories : -
   www.geocities.com/rpayal99
---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: random string

2002-11-22 Thread rpayal
Hi,
> why would you want to use Perl in the first place? no other alternatives?
Maybe, But I am not a coder at all.
> your problem is straight forward and if you are not familiar with Perl, you 
> might want to go with another language. i don't think it will be that hard 
> right? c/c++? java? shell script?
hehehehee, if I knew that then i would have made it myself. I know a bit
of shell scripting, but I never knew that one can generate random string
in shell.
Can you help me do it in perl?
My requirement is very very simple. To write a program which will
generate *just* a random string of say 8 characters. Characters allowed
will be - [a-z] [A-Z] [0-9]. Can it be done?
Thanks and bye.
-Payal

-- 
---
Contact :-  Linux Success Stories : -
   www.geocities.com/rpayal99
---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: random string

2002-11-22 Thread rpayal
Hi,
Thanks for the mails all.
But I haven't got a sentence or even a word.
Please, I am looking for a *script* which will print a random string.
Please someone take trouble of putting the info. in a file so that I can
cut-paste it.
As, I said I know *nothing* of perl, nothing at all so all those
my @chars = ( 'a' .. 'z', 'A' .. 'Z', 0 .. 9 );
etc. are pretty useless to me, unless they are in a script form.

Thanks a lot in advance and bye.
With regards.
-Payal
p.s someone please mark a Cc to rpayal99 @ yahoo.com. This present email
address is having problems since last 4-5 hours.
-- 
---
Contact :-  Linux Success Stories : -
   www.geocities.com/rpayal99
---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




random string

2002-11-22 Thread rpayal
Hi,
I am not at all familar to perl. I want to write a small perl script
which will print a random string of atleast 8 characters. This string I
intend to use as password for my application.
I don't know perl at all. perl is in /usr/local/bin/perl
The script when invovked like should print,

#perl randon_string.pl
AQs1QsaL

etc.
Can please someone help in this?
Thanks a lot and bye.
With regards.

-Payal
-- 
---
Contact :-  Linux Success Stories : -
   www.geocities.com/rpayal99
---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]