Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Any last words?

by pike (Monk)
on Nov 23, 2001 at 15:03 UTC ( [id://127084]=note: print w/replies, xml ) Need Help??


in reply to Any last words?

'die' concatenates its argument like print does. This is so that you can say e.g.

die "Expected ", scalar (@ref), " arguments, got ", scalar (@arr), "\n +";

rather than having to explicitly concatenate the strings:

die "Expected " . scalar (@ref) . " arguments, got " . scalar (@arr) . + "\n";

The downside to this is that the args are obviously also concatenated when you pass the to a handler.

pike

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2025-06-16 07:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.