Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1032629]
robby_dobby is still not used to PM's interface. /o\
[oiskuu]: War. War never changes.
[robby_dobby]: "My cat is a very good mouser" -- that's a great way to identify a Brit among a crowd :-)
thezip looks around to see no one else dancing to Piazzola...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2017-11-17 19:44 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (272 votes). Check out past polls.