On Aug 12, 12:55 am, [EMAIL PROTECTED] (Yitzle) wrote:
> Works:
>         my $t = shift;
>         my $id = qr($t);
> Doesn't work:
>         my $id = qr(shift);
>
> Why?

Variables interpolate.  Function calls don't.

Paul Lalli


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to