Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: How to get installtion Perl modules log?

by Misha (Acolyte)
on Oct 23, 2007 at 14:28 UTC ( [id://646692]=note: print w/replies, xml ) Need Help??


in reply to Re: How to get installtion Perl modules log?
in thread How to get installtion Perl modules log?

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re^2: How to get installtion Perl modules log?

Replies are listed 'Best First'.
Re^3: How to get installtion Perl modules log?
by moritz (Cardinal) on Oct 23, 2007 at 14:56 UTC
    You have to start script either interactively (which opens a virtual terminal, or something), and then start your command.

    Or you use the alternate syntax script -c COMMAND log_file, which means you'll have a mess with quoting, unless you use the LIST form of system:

    my $command = qq{perl -MCPAN -e 'install q/Bundle::Snapshot_2007_07_23 +_00/'}; system('script', '-c', $command, '/cygdrive/c/cpan.log');
    (not tested)
Re^3: How to get installtion Perl modules log?
by roboticus (Chancellor) on Oct 24, 2007 at 00:50 UTC
    Misha:

    I'm not trying to be snide here, but you would have known how to use script had you read the man page. I'm surprised (and somewhat appalled) that you'd run a command that someone suggested to you without at least scanning the documentation on the command. Otherwise someone might accidentally suggest you do something as destructive (but not as obvious) as:

    ls -al | mkfs /dev/hda1 | grep 'pwned!'

    ...roboticus

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-25 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found