Flemming Greve Skovengaard wrote:
>
> John W. Krahn wrote:
>>
>> Flemming Greve Skovengaard wrote:
>>>
>>> $rand_string .= $letters[$index];
>>
>> Or simply:
>>
>> $rand_string .= $letters[ rand @letters ];
>
> Yes, that would save a line of code, a variable and a call to scalar().
> B
John W. Krahn wrote:
Flemming Greve Skovengaard wrote:
Travis Thornhill wrote:
I need to make strings of variable length for testing inputs.
The strings can contain any letter, say 'a', and I need to be able
to create the string with
255, 256 or any length.
Is there a quick and easy wa
Flemming Greve Skovengaard wrote:
> Travis Thornhill wrote:
>> I need to make strings of variable length for testing inputs.
>> The strings can contain any letter, say 'a', and I need to be able
>> to create the string with
>> 255, 256 or any length.
>> Is there a quick and easy way to do
Travis Thornhill wrote:
I need to make strings of variable length for testing inputs.
The strings can contain any letter, say 'a', and I need to be able to create
the string with
255, 256 or any length.
Is there a quick and easy way to do this with perl?
...
This will generate a st
Travis Thornhill wrote:
> I need to make strings of variable length for testing inputs.
> The strings can contain any letter, say 'a', and I need to be able to
> create the string with 255, 256 or any length.
>
> Is there a quick and easy way to do this with perl?
my $letter = 'a';
my $length =
vid R Wagner
Senior Programmer Analyst
FedEx Freight
1.408.323.4225x2224 TEL
1.408.323.4449 FAX
http://fedex.com/us
> -Original Message-
> From: Travis Thornhill [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 19, 2007 14:37
> To: beginners@perl.org
> Subject: H
I need to make strings of variable length for testing inputs.
The strings can contain any letter, say 'a', and I need to be able to create
the string with
255, 256 or any length.
Is there a quick and easy way to do this with perl?
-
Never miss an email