Jump to content

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
Cookies help us deliver our services. By using our services, you agree to our use of cookies.