Can someone please tell me, why

my $pattern = /stuff/;
$x =~ $pattern;

or

my $pattern = "/stuff/";
$x =~ $pattern;

don't work the same as

$x =~ /stuff/;

?

Thank you for your help!

Jack


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




Reply via email to