D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] quick Perl question.

 

I know there will be a very simple function for this, I just can't find it.

I'm reading in a list of integers e.g.:

1 9 11 42 6 7 85 etc.

my question is how do I turn these into 01 09 11 42 06 07 85 etc.
Numbers >99 will never occur

Thanks in advance.

James


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html