Re: Passing Hash table to function?

2004-01-20 Thread Tushar Gokhale
Thanks James for your prompt reply and sorry for my poor english. I'll get back to the point to clear the confusion. There are 5 scripts which I'm running and each script has %enumerations with its own values. There is one library where most of my functions are stored. My each script has th

Passing Hash table to function?

2004-01-19 Thread Tushar Gokhale
I have a hash table which contains values like my %enumerations = ( #mystat mode 'edcf' => '1', 'hcf' => '2', #admin state 'disable' => '0', 'enable' => '1', ); I have created a library of common functions and the a

Re: How to send O/P to file?

2003-12-25 Thread Tushar Gokhale
( OUTPUT ); This solved my problem. Any one knows any good link on perl threading [FORK] ? Which can give me detail info with example. How to create thread and use multiple threads? Tushar Gokhale wrote: > I've opened a connection to remote machine through perl script and sending

How to send O/P to file?

2003-12-24 Thread Tushar Gokhale
I've opened a connection to remote machine through perl script and sending commands and can see the output on screen but I want to put that output in File along with the commands that were send. how do I do that? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Running command from string variable as if part of script

2003-12-22 Thread Tushar Gokhale
I'm reading another perl script into array and want to commands from the the array as if normal perl commands. How do I do it? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Calling another perl file

2003-12-22 Thread Tushar Gokhale
Thanks a lot for instant reply. Your prompt help has helped me a lot, my problem has resolved. It helped me to understand your example cleanly. Thanks again, -Tushar -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Calling another perl file

2003-12-19 Thread Tushar Gokhale
How do I call another perl script from my current perl script? I'm working on one perl testing harness, currently my "bin/run.pl" has a control and now I want to call script files one by one from "tests/" folder. I also want to pass an argument to the test script file. Once the file is executed fro