Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Links::Import::RDFS2

Quote Reply
Links::Import::RDFS2
Sorry for an un-important question but I was looking at the code in RDFS2.pm and at the bottom noticed:

'"I am lying," said the man. Was he?';

There are plenty of others too such as....

"True or not true? That is the question."

Anyone care to explain? Smile

Installations:http://www.wiredon.net/gt/

Quote Reply
Re: Links::Import::RDFS2 In reply to
Hi,

This is Jason after having spent too many hours on import work (which is not fun at all).

Perl just requires a true value at the end, normally a 1;, but anything will do. =)

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Links::Import::RDFS2 In reply to
Ahh...cool Smile

Whilst on the subject...I noticed a 2; on some occassions. What is the difference between 1; and 2;?

Thanks.


Installations:http://www.wiredon.net/gt/

Quote Reply
Re: Links::Import::RDFS2 In reply to
None, both are true values.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Links::Import::RDFS2 In reply to
Thanks Alex.



Installations:http://www.wiredon.net/gt/

Quote Reply
Re: Links::Import::RDFS2 In reply to
*Chuckle*

I was wondering how long it would be until someone noticed those :)

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: Links::Import::RDFS2 In reply to
Hehe...

By the way...I like the script at jagerman.com. I know you aren't likely to give much away but was it easy to do (could you answer from the perspective of a non-programmerSmile)?

http://www.jagerman.com/...green=00&blue=FF
http://www.jagerman.com/...green=33&blue=33

Was it anything to do with GD.pm?

Sorry, I'm getting more off-topic for the forum.

Installations:http://www.wiredon.net/gt/

Quote Reply
Re: Nothing to do with Links::Import::RDFS2 In reply to
http://jagerman.com/index.txt

Basically, all I do is play with the colors of http://jagerman.com/.../inversetransjag.gif

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: Nothing to do with Links::Import::RDFS2 In reply to
If only I could write code like that. Thanks for letting me see.

So if I understand correctly, it creates a gif on the fly based on the params passed into the script?

Installations:http://www.wiredon.net/gt/

Quote Reply
Re: Nothing to do with Links::Import::RDFS2 In reply to
No, it takes an existing GIF and modifies the colors, then just prints out the rest as is - the colors of a GIF are stored in the first few bytes.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com