in reply to Re^2: Recieving input during runtime..
in thread Recieving input during runtime..
Well I tried a very basic example:
#!/usr/bin/perl use strict; use warnings; print "Please enter an output file name: "; my $outputfile = <STDIN>; chomp($outputfile); print "User input: $outputfile\n";
and converted it to an executable using pp:
pp -o inputtest inputtest.pl
Which runs as follows:
Please enter an output file name: testfile.txt User input: testfile.txt
Perhaps if you showed an example of your code and how you converted it to an executable someone would be able to help.
|
|---|