Hi,
I think that you can do it like this:
s/^/ //g;
will work (or should work) in SED, so I assume that it
will in Perl also.
HTH,
Thomas Adam
--- Scott Martin <[EMAIL PROTECTED]> wrote: >
How can I remove white space from the beginning of a
> variable?
>
> -Scott
>
>
=====
Thomas Adam
Linux Co-ordinator for The Purbeck School
e-mail (school): [EMAIL PROTECTED]
e-mail (yahoo) : [EMAIL PROTECTED]
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]