Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by makarandmk

  1. makarandmk

    How do I execute command on different server thru CGI?

    Hi, In my cgi script, I want to do telnet or rsh to some different host and run the commands on that host. How do I do that? e.g. In my CGI script, there is one function called removeCase - sub removeCase { 01 I_WANT_TO_GO_TO_ONE_HOST;(want to do telnet/rsh) 02...
  2. makarandmk

    accepting array from command line

    Hi friends, This is what exactly I did! Thanks very very much!! regards, Makarand
  3. makarandmk

    accepting array from command line

    Sorry, I have some problem again .... Pl advise..!! If you pass an array as individual arguments starting at the fourth, like: sample.pl var1 var2 var3 arrval1 arrval2 then I could set the array in the script like: @arrayarg = @ARGV[3..$#ARGV]; But if I want to pass 2 arrays, then what could...
  4. makarandmk

    accepting array from command line

    Hi Friends, That makes a good sence.. thanks very much for your replies. regards, Makarand
  5. makarandmk

    accepting array from command line

    I want to pass an array from CGI perl form and accept that array as a command line argument in other file. How do I do that? My code below: in CGI script I am calling some perl script with 4 parameters. e.g. sample.pl var1 var2 var3 array Now, in my sample.pl, how do I accept the 4th param? I...
  6. makarandmk

    How to get rid of "is_defaulted method no longer works"?

    Hi, Can I use any other module other than "XML::DOM::Parser" to parse XML file through CGI perl script? My requirement is to parse XML file, extract data and show it in HTML format to the user. Please advise. thanks, Makarand
  7. makarandmk

    How to get rid of "is_defaulted method no longer works"?

    Hi Mike, Thanks for your comments. BTW, I am using perl5.6 version. Is this a latest one? If I use perl5.005, then also I am getting the same errors. Please advise. regards, Makarand
  8. makarandmk

    how to pass array to a subroutine?

    Thanks very much.. it worked for me.. regards, Makarand
  9. makarandmk

    How to get rid of "is_defaulted method no longer works"?

    Hi, While using XML-DOM-Parser's parsefile method, I am getting following errors on my scrren.. how do i get rid of it? see my code below: use XML::DOM; my $dom = new XML::DOM::Parser; my $doc = $dom->parsefile("some file name"); Errors I get: The is_defaulted method no longer...
  10. makarandmk

    how to pass array to a subroutine?

    Hi I am novice user of perl.. my q is how to pass an array to a subroutine and how we can access different values of the array in the subroutine?

Part and Inventory Search

Back
Top