Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

my my, that's a lot of variables...

by Brovnik (Hermit)
on May 21, 2001 at 15:05 UTC ( #81943=obfuscated: print w/replies, xml ) Need Help??

... but they are all needed !
#!/usr/bin/perl -w use strict; my $t33=undef $/ || 0; my $e94='DATA'; my $u23=join(',','seek '.$e94,$t33,$t33); my $r73=eval($u23); my $o63=($_=<DATA>); my $n57=s/\s+//g; my $J11=$r73+$r73; my $t64=tr/qf=z"_B/ l t /; my $B74=$J11*$J11; my @k92=split(/y[\$\@]/); my $h70=($t64-$J11-$r73)/($B74); my $a43=$k92[$t33]=~s/^.{$h70}(.)/\u$1/;sub mainbrace{ my $B40=return substr(shift,$r73,$J11)} sub random { my $r99=shift; $r99 =~ s/.(..)/$1/; my $z87=return $r99 cmp mainbrace(shift); } my @e72=sort{random($a,$b)}@k92; my $a89=pop(@e72);for(@e72){ my $s24 = chop; my $H88=print (substr $a89,$t33,$B74) if /pma/ && chop ne ';'; my @c91=split//;print shift @c91; } __DATA__
Update: BTW, This is the code resulting from the idea mentioned in Do Monks dream of Perl sheep ? Meditation.

Replies are listed 'Best First'.
Re: my my, that's a lot of variables...
by jorg (Friar) on May 21, 2001 at 16:25 UTC
    refreshing variant on the stuff that I normally find here...


    "Do or do not, there is no try" -- Yoda

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: obfuscated [id://81943]
Approved by root
[Corion]: Meh. Once again I find that SQLite doesn't support window functions and I want to use those nowadays :-)
[erix]: Look what I found! :P
[Corion]: Hmm - actually, I don't need them, even though they'd be nice. I just want the (say) 10 latest images, and that's easily done with a limit 10 offset 0 clause, as I don't need all top 10 images for all users.
[Corion]: erix: Sure, but this is for a really-lightweight application and I'm replacing a CSV file / JSON file for user configuration with SQLite (and optionally, Pg) :)
[erix]: isn't a texty format handier for configs?
[Corion]: So far, I've avoided having even a user database by storing the user information in a (signed) cookie that the browser keeps for me, but as I want to be able to lock users, I need a second storage option :)
[Corion]: erix: It's needed for keeping the list of users and the list of tags associated with an image, and for keeping the images with users. I want an easy way to know if an image can be deleted, which means that it can't be referenced by any tag anymore. ...
[Corion]: SQL feels like a natural choice here :)

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (12)
As of 2018-03-20 14:02 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (253 votes). Check out past polls.