Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: @_0 vs. $_0 ($$)

by tye (Sage)
on Jun 24, 2007 at 05:15 UTC ( [id://623041]=note: print w/replies, xml ) Need Help??


in reply to Re: @_0 vs. $_0
in thread @_0 vs. $_0

There is no Perl function whose second argument is in scalar context.

Heh, I'd've bet money that this claim is overstated. And I didn't have to scroll down very far (in the list in opcode.pl) before finding my first counterexample, bless. This is quickly followed by a long list of exceptions that are all binary operators so I'll let those go. Then we have atan2, substr, vec, index, rindex, crypt, unpack, split, splice, open, binmode, tie, dbmopen, select, read, sysopen, sysseek, sysread, syswrite, send, recv, seek, truncate, fcntl, ioctl, socket, socketpair, bind, connect, listen, accept, shutdown, getsockopt, setsockopt, rename, link, symlink, mkdir, opendir, seekdir, waitpid, setpgrp, getpriority, setpriority, shmget, shmctl, shmread, shmwrite, msgget, msgctl, msgsnd, msgrcv, semget, semctl, semop, gethostbyaddr, getnetbyaddr, getservbyname, and getservbyport.

So I really think I have to disagree with your claim. (:

- tye        

Replies are listed 'Best First'.
Re^3: @_0 vs. $_0 ($$)
by Dominus (Parson) on Jul 04, 2007 at 03:31 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2026-02-11 10:04 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.