Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 rifling through the Monastery: (17)
As of 2015-07-29 13:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls