Ahh, that explains. But what exactly is pseudo-code?

--------------
Bob Erinkveld (Webmaster Insane Hosts)
www.insane-hosts.net
MSN: [EMAIL PROTECTED]




From: "Jenda Krynicky" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Die horribly ?
Date: Mon, 16 Dec 2002 15:50:39 +0100

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]

_________________________________________________________________
Ontvang je Hotmail & Messenger berichten op je mobiele telefoon met Hotmail SMS http://www.msn.nl/jumppage/


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to