Hacker News new | past | comments | ask | show | jobs | submit login

It makes me sad that qw«foo bar baz» still doesn't work in perl5.



I have good news!

    #!/usr/bin/env perl
    use v5.36; # Minimum version needed for this
    use utf8;
    use experimental qw/extra_paired_delimiters/;
    
    my @arr = qw«foo bar baz»;
    say $arr[1];




Consider applying for YC's first-ever Fall batch! Applications are open till Aug 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: