Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: system() vs `backtick`

by etcshadow (Priest)
on Aug 06, 2004 at 20:36 UTC ( #380708=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    [me@host]$ command
    ...
    [me@host]$ command | cat
    ...
    
  2. or download this
    [me@host]$ perl -e 'print `perl -le "print -t STDOUT"`'
    
    [me@host]$ perl -e 'system q(perl -le "print -t STDOUT")'
    1
    [me@host]$
    
  3. or download this
    ------------
    :Wq
    Not an editor command: Wq
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://380708]
help
Chatterbox?
[Lady_Aleena]: Maybe...
[talexb]: Sounds like a Try It And See question to me ..
[1nickt]: heh, I hab\ve been. Trying to understand it.
[1nickt]: perl -e 'print 1.0' ... output '1'.
[Lady_Aleena]: You could quote it. <c>perl -e 'print "1.0"'>/c> returns 1.0

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2017-05-24 18:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?