Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

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


in reply to qr/string/ is not the same as qr/$var/ ?

This is not regular expressions problem, nor qr problem. If you try foo.pl as:
my $foo = shift; print $foo,"\n";
and do
[ambs@eremita tmp]$ perl foo.pl 'fo\o' fo\o
I know I didn't answer your question. Basically, it seems program arguments are quoted. Can't say why.

Alberto Simões

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://449140]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2020-04-09 11:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The most amusing oxymoron is:
















    Results (47 votes). Check out past polls.

    Notices?