Hi,

my $id = qr(shift); will not work from the same reason that 
my $id = "shift" will not work!!!

Yours,

Yaron Kahanovitch
----- Original Message -----
From: "yitzle" <[EMAIL PROTECTED]>
To: beginners@perl.org
Sent: Sunday, August 12, 2007 7:55:38 AM (GMT+0200) Auto-Detected
Subject: qr + shift

Works:
        my $t = shift;
        my $id = qr($t);
Doesn't work:
        my $id = qr(shift);

Why?

Thanks!

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




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


Reply via email to