in reply to Re^2: -s file test operator only works in same directory
in thread -s file test operator only works in same directory

That is not a subref.
perl -E ' say ${\"FFF"}' FFF
All you are doing is referencing then de-referencing the returned value of the sub.

It is just a way to call a sub inside quotes - but I dislike the obfuscation it causes.

                All power corrupts, but we need electricity.

Replies are listed 'Best First'.
Re^4: -s file test operator only works in same directory
by Bowlslaw (Acolyte) on Dec 08, 2017 at 13:00 UTC
    Ah, I see. Well, the real answer is that I left it like that because I was playing around, and I agree that it’s unnecessary. Also, I thought it was a subref. Anyway, thanks for your help!