On Sep 7, 2007, at 10:07 AM, Santana wrote:

Hei all,
i'am a newbie in PERL and i find a solution for this problem :

I have a string "xxxxxxx" , i want put ones("1") on left of string, if
this string dont have a length of 20 character.

Example :

if i have th string "HELLO" and woul like get  this ;

"111111111111111HELLO"


How i can this ???

Is this homework?

-- fxn


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to