On Sun, Jun 07, 2020 at 01:57:11PM -0700, ToddAndMargo via perl6-users wrote: > On 2020-06-07 13:53, Peter Pentchev wrote: > > $path = 'lib1'.IO.d ?? 'lib1' !! 'lib2'; > > Got it! Thank you! > > I am not seeing the above enter the proper syntax: > > 'lib1', 'lib2' etc. > > Where is the comma? How are the single quotes entered?
I don't understand what you are asking. The above checks whether a directory exists and, depending on the result of this check, assigns one of two values to a variable. I don't know what comma you are talking about. G'luck, Peter -- Peter Pentchev r...@ringlet.net r...@debian.org p...@storpool.com PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13
signature.asc
Description: PGP signature