Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

PHP - Perl

by Revelation (Deacon)
on Apr 08, 2002 at 01:15 UTC ( [id://157346]=obfuscated: print w/replies, xml ) Need Help??

#!/usr/bin/perl # Some very symetrical code. use strict; $_="PHP sucks, perl rocks"; my $foo= pack("CCCC",74,117,115,116); $_ = substr($_,10); my $a = "a "; my $q = new(); $a =~ s!a(\s)! another!g;$a=~ s($/)()g;my( @ls,$t);for (1..10) {push @ls,$t};my$pk="MAIN";my $no="a"; no strict; ${"${pk}::$no"} = "$a"; #l33t0 / rocks/;undef $pk , $no; $_ = $foo.$".$MAIN::a.$` ;print;sub new{my $self ={ };$self->{result} = 0; bless($self);return $self;} my $dog_wag =qtfx2($q, 'wag') ;&$dog_wag("hacker");sub qtfx2{my ($self, $method)=@_;return sub{return $self->$method(@_)};}wag($_,'Rev'); sub wag{use strict; shift ; print # " @_" # ."!" ;}

Gyan Kapur
gyan.kapur@rhhllp.com

Replies are listed 'Best First'.
Re: PHP - Perl
by cecil36 (Pilgrim) on Apr 08, 2002 at 14:08 UTC
    Damn! Somebody please teach me how to be Just Another Perl Hacker.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: obfuscated [id://157346]
Approved by belg4mit
Front-paged by Amoe
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2024-04-23 13:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found