LastGen Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am very new to Perl and I am trying hard to figure out the perl ways. Could somebody please help me with this. What I have so far is:
#!/usr/bin/perl use strict; use warnings; use File::Copy; use File::Basename; print "SCAN PPID:\n"; my $input = <STDIN>; chomp $input; print "Make sure you confirm the PPID before you proceed \n"; print "PPID: $input \n\n"; my $output = <STDOUT>; print STDOUT "$input";
please help with a command or next steps on saving my output to this folder -> c:\users\lastgen\docs\saved_ppid.
I honestly do not know where to start after getting my output and on how to save it to a folder. Please help.
Thank you.
Lastgen Monk.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Saving my output to a folder
by stevieb (Canon) on Apr 19, 2016 at 17:23 UTC | |
by LastGen Monk (Novice) on Apr 19, 2016 at 20:06 UTC | |
by NetWallah (Canon) on Apr 19, 2016 at 21:40 UTC | |
by LastGen Monk (Novice) on Apr 20, 2016 at 11:31 UTC | |
by NetWallah (Canon) on Apr 20, 2016 at 18:49 UTC | |
| |
by LastGen Monk (Novice) on Apr 20, 2016 at 11:46 UTC | |
|
Re: Saving my output to a folder
by Marshall (Canon) on Apr 19, 2016 at 17:44 UTC | |
by LastGen Monk (Novice) on Apr 19, 2016 at 20:11 UTC | |
by Marshall (Canon) on Apr 20, 2016 at 04:46 UTC |