Check that file exists: Difference between revisions

→‎{{header|Perl}}: add Perl 6 entry
(→‎{{header|Perl}}: add Perl 6 entry)
Line 537:
perl -e 'print -e "/input.txt", "\n";'
perl -e 'print -d "/docs", "\n";'
=={{header|Perl 6}}==
<lang perl6>'input.txt'.IO ~~ :e;
'docs'.IO ~~ :d;
'/input.txt'.IO ~~ :e;
'/docs'.IO ~~ :d</lang>
 
=={{header|PicoLisp}}==
Anonymous user