Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^5: Can't find any documentation on < a b c > syntax for lists

by Anonymous Monk
on Feb 14, 2023 at 16:03 UTC ( [id://11150364]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Can't find any documentation on < a b c > syntax for lists
in thread Can't find any documentation on < a b c > syntax for lists

    <...> (anything else) means glob(qq<...>)
Anything? Except this:
perl -MO=Deparse,-p -e 'print "$_\n" for <<>>'
print("$_\n") foreach (<<>>);

Perl waits for input:

echo fubar | perl -e 'print "$_\n" for <<>>'
fubar

Replies are listed 'Best First'.
Re^6: Can't find any documentation on < a b c > syntax for lists
by ikegami (Patriarch) on Feb 14, 2023 at 18:22 UTC

    Different operator. I also didn't cover <<EOF eventually followed by >, or $x<123 eventually followed by a >, etc.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-16 23:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found