Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: qr/string/ is not the same as qr/$var/ ?

by ambs (Pilgrim)
on Apr 19, 2005 at 08:16 UTC ( [id://449140] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $foo = shift;
    print $foo,"\n";
    
  2. or download this
    [ambs@eremita tmp]$ perl foo.pl 'fo\o'
    fo\o