View Single Post
  #1 (permalink)  
Old 01-19-2007, 02:06 PM
Cosmet Cosmet is offline
Learning Programmer
 
Join Date: Oct 2006
Posts: 58
Rep Power: 8
Cosmet is on a distinguished road
Default Left Fill in Perl?

How can I pad left in perl? Basically if I have a string like

108

I need to fill 4 spaces in front of it with 0's. IE

0000108

Is this possible in Perl?
Reply With Quote

Sponsored Links