From: "John W. Krahn" <[EMAIL PROTECTED]> > Mystik Gotan wrote: > > > > Hi there, > > Hello, > > > another basic Perl question up here. The last time I've seen quite > > some code using die horribly;. Actually, I've never seen this > > before. Is this a new built-in for 5.8.0? What I want to know, is > > wat it does. I'm sure it can't be some text, I have an idea, but I'm > > not sure. Please, I just wanna know what it is, I don't think any > > duscussions are needed. Thanks :-) > > It is pseudo-code, not actual Perl code (at least when I've seen it > used.) > > John
You're right. Though it could easily be proper Perl code ;-) You'd just have to define function (or constant) horribly: use constant horribly => 'Something horrible happened!'; ... open FILE, '< data.dat' or die horribly; Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]