There's more than one way to do things | |
PerlMonks |
Convert string to variableby ShermW0829 (Sexton) |
on Feb 16, 2018 at 20:27 UTC ( [id://1209330]=perlquestion: print w/replies, xml ) | Need Help?? |
ShermW0829 has asked for the wisdom of the Perl Monks concerning the following question: Name: Sherman 71 years old retired and creating my own poker visits database Platform: HP Compaq 6710b Operating System: Ubuntu 17.10 PERL Version: 5.26 postgresql Version: 9.6 Problem: Need to assign a string to act as a variable I am building a front end for postgresql entries. I have fourteen entries that I need to query the user and set the user's value into a variable. I am using IO::Prompt. If I straight-line the code everything works. e.g:
And 12 more user inputs to get along with the no space check equals 24 more lines of code. Lots of code so I tried the following:
Thank you; Sherman
Back to
Seekers of Perl Wisdom
|
|