Awesome. That worked perfectly.
Thank You!
On 12/14/06, Frank Wiles <[EMAIL PROTECTED]> wrote:
> On Thu, 14 Dec 2006 14:20:23 -0600
> "Daryl Fallin" <[EMAIL PROTECTED]> wrote:
>
> > This is a totally newbie question, but I am doing a recursive
> > subroutine and I would like to print a tab (\t) for each recursion
> > into the subroutine.
> >
> > I thought something like print ("\t{$level} $rest $of $mydata");
> > would work.
>
> You're looking for something like this:
>
> print "\t" x $level . "$rest $of $mydata";
>
> The construct "x" tells print to repeat the previous part $level
> times.
>
> Hope that helps.
>
> ---------------------------------
> Frank Wiles <[EMAIL PROTECTED]>
> http://www.wiles.org
> ---------------------------------
>
>
_______________________________________________
kc mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/kc