puchku has asked for the wisdom of the Perl Monks concerning the following question:
i've been writing a vb 6.0 program and in it i need to have a text file created during runtime as follows:
dim fs,fname Set fs = New FileSystemObject Set fname = fs.CreateTextFile("D:\vb\perlprog.txt", True) fname.WriteLine ("#!/usr/bin/perl -w") fname.WriteLine ("use strict;") . . . fname.WriteLine ("my $t = Net::Telnet->new(Host => $ipad, PORT => '23' + , Timeout => 10 , Errmode => 'return');") . . .
in that vb program, i've taken data in a variable like this: IPAD = rec3("IPADDRESS")
i want to take this value(an ip address) from this variable to $ipad variable in the perl program...should i write it in perl or vb??if in perl, then how? thank you....
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: how to assign a vb 6.0 variable value to a perl variable
by NetWallah (Canon) on Jan 09, 2013 at 06:06 UTC | |
by puchku (Initiate) on Jan 09, 2013 at 06:21 UTC | |
by puchku (Initiate) on Jan 09, 2013 at 06:23 UTC | |
Re: how to assign a vb 6.0 variable value to a perl variable
by LanX (Saint) on Jan 09, 2013 at 06:01 UTC | |
by puchku (Initiate) on Jan 09, 2013 at 06:17 UTC |
Back to
Seekers of Perl Wisdom