Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Semicolon terminating paren-less call to 'opendir' triggers a bogus warning

by BillKSmith (Monsignor)
on Sep 08, 2023 at 02:04 UTC ( [id://11154301]=note: print w/replies, xml ) Need Help??


in reply to Re: Semicolon terminating paren-less call to 'opendir' triggers a bogus warning
in thread Semicolon terminating paren-less call to 'opendir' triggers a bogus warning

Why doesn't the first example give the same warning? The only difference that I see is the semicolon.
Bill
  • Comment on Re^2: Semicolon terminating paren-less call to 'opendir' triggers a bogus warning

Replies are listed 'Best First'.
Re^3: Semicolon terminating paren-less call to 'opendir' triggers a bogus warning
by LanX (Saint) on Sep 08, 2023 at 07:12 UTC
    You are right, it's only the semicolon.

    The parser is full of heuristics trying to DWIM ambiguities.

    So probably that's one of the side effects, when the code ends abruptly. 🤷‍♂️

    Cheers Rolf
    (addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
    Wikisyntax for the Monastery

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11154301]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2026-04-10 22:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.