Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • use Storable qw( freeze );

    $a = undef;
    $b = [];

    ( freeze($a) ne freeze($b) ) and
        print "Naturally :-)\n";

    I'm sure it's not too hard to argue the merit and usefulness of empty and undefined sets when viewed in the context of code development.

  • Lao Tzu and Chuang Tzu were discussing the virtues of the men of old.

    Lao Tzu began, "The men of old had a language of pure Tao, in which the only word was silence."

    Chuang Tzu responded, "But how did they express the absence of silence?"

    At this, Lao Tzu was enlightened.

    Chuang Tzu continued, "If you want TCL 7.X, you know where to get it."

    At this, Lao Tzu realized that Chuang Tzu needed to get out more.
  • Pai-chang wished to send a monk to open a new monastery. He told his pupils that whoever answered a question most ably would be appointed. Placing a water jug on the ground, he asked, "Who can say what this is without calling its name?" The head Monk said, "No one can call it a wooden sandal." Kuei-shan, the cooking monk, tipped over the jug with his foot and went out. Pai-chang laughed and said: "The head monk loses." And Kuei-shan became the head Master of the new monastery.