Skip to content

Commit 1c6cd21

Browse files
committed
Remove harmful «» advice
It was accidentally added in 190a1f3503 Even the next paragraph advices against it. I'm not sure how to make the example simpler without making it less idiomatic.
1 parent 37e1cfe commit 1c6cd21

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/Type/independent-routines.pod6

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -503,10 +503,10 @@ Runs an external command I<without involving a shell> and returns a
503503
L<Proc|/type/Proc> object. By default, the external command will print to
504504
standard output and error, and read from standard input.
505505
506-
run 'touch', '>foo.txt'; # Create a file named >foo.txt
506+
run 'touch', '--', '*.txt'; # Create a file named “*.txt
507507
508-
run <<rm >foo.txt>>; # Another way to use run, using word quoting for the
509-
# arguments
508+
run <rm -- *.txt>; # Another way to use run, using word quoting for the
509+
# arguments
510510
511511
If you want to pass some variables you can still use C«< >», but try
512512
to avoid using C<« »> as it will do word splitting if you forget to

0 commit comments

Comments
 (0)