Re: OT:perl variable question

On Tue, 23 Nov 2004 10:46:17 -0600, Greg Norris
<spikey.mcmarbles@xxxxxxxxx> wrote:
> Here's a quick-n-dirty padding function I've used in the past.
> 
> sub lpad {
>    return($_[1] x ($_[2] - length($_[0])) . $_[0]);
> }
> 

The 'return' is redundant.  ;)

-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist
--
http://www.freelists.org/webpage/oracle-l

Other related posts: