📝 Added sandbox (code sketchbook)
This commit is contained in:
parent
b475595f7f
commit
b5daf18b1a
142 changed files with 100702 additions and 0 deletions
13
sandbox/foo.pl
Executable file
13
sandbox/foo.pl
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
# a basic example of how to write a standard input output shell in perl, it invokes system library's shell to write shell commands when invoked
|
||||
# to invoke: perl foo.pl
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
# my $string = "shell:"
|
||||
# print "$string\n";
|
||||
|
||||
while(<>) {
|
||||
system($_);
|
||||
}
|
||||
|
||||
exit 0;
|
||||
Loading…
Add table
Add a link
Reference in a new issue