Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: trying to pass variable through system call in windows

by ww (Archbishop)
on Jan 31, 2014 at 19:02 UTC ( [id://1072896]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    C:\> perl -E "my $var = 'rstuv';  $var =~ s/r/FOO/; say $var;"
    FOOstuv  
        # replaced the "r" with "FOO"... and would have done the same if $
    +var were a filename;
    ...
    C:\> perl -E "my $var = 'rstuv';  my $newvar = $var =~ tr/r/FOO/; say 
    +$newvar;"
    1   
        # count of the replacement actions
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-03-19 06:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found