Faqts : Business : Programming : Shopping For You : Perl

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

12 of 14 people (86%) answered Yes
Recently 8 of 10 people (80%) answered Yes

Entry

When using Expect.pm, I don't want password print to stdout in plain view; is there a way to do this

Aug 21st, 2009 05:26
alexmartin@gmail.com alexmartin@gmail.com, Jack Nerad, Michael Chan,


You don't have to print anything to stdout.  You can set 

$Expect::Log_Stdout = 0;

or, you can do

$object->($timeout,@match_patterns);
$object->log_stdout(0);
$object->($timeout,@password_patterns);
$object->log_stdout(1);
$object->($timeout,@match_patterns);

http://www.onlineseosolution.com
	
http://www.logicdunia.com

http://www.just2world.com

http://www.promotioncrown.com
	
http://www.casinogametown.com

http://www.indiaeduresults.com

http://www.realmaxor.com

http://www.a1start.com

http://www.alwarmall.com
	
http://www.terrymart.com

http://www.rajasnet.com

http://www.khairthal.com

http://www.jestrugs.com

http://www.furnimpact.com

http://www.srplanet.com

http://www.greatspido.com

http://www.habibstyle.com

http://www.clarktimes.com

http://www.b2bgrant.com

http://www.propertybunch.com

http://www.buxorgroup.com

http://www.gsmrainbow.com

http://www.lgfsolution.com

http://www.nightroutes.com

http://www.monilek.com
http://www.onlineseosolution.com

http://www.crafts.onlineseosolution.com/

http://www.music.onlineseosolution.com/

http://www.healthcare.onlineseosolution.com/
http://www.pearlaction.com	
 http://www.sariskas.com

Check the documentation that comes with the module for more options.