Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: ClearCase Command text in Backticks is ignored

by runrig (Abbot)
on May 08, 2013 at 16:01 UTC ( #1032629=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # Not sure if you are trying to pass literal '\t','\n' or tab and newl
    +ine characters...assuming tab and newline
    system(cleartool => 'lsco', '-r', '-brt', $stream, '-fmt', "%En\t%u\n"
    +);
    
  2. or download this
    open(my $fh, "-|",
      cleartool => 'lsco', '-r', '-brt', $stream, '-fmt', "%En\t%u\n") or 
    +die "Err: $!";
    ...
      print "OUTPUT: $_";
    }
    close $fh or die "Error: $!";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (13)
As of 2014-12-18 20:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (62 votes), past polls