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

Learning Perl Vars

by cristian (Hermit)
on Mar 29, 2005 at 22:44 UTC ( #443288=obfuscated: print w/replies, xml ) Need Help??

perl -e 'for($",{},[],\_,**,\&_,\\$_,$^,$~,jk,$^X) {$__= $_;if($_=~/\//){($__)=$_=~/\/([^\/]+)$/}else {$__=~s/\(.*\)|:|\*|_//g}push@_,split//,$__;}print lc"$_[42]$_[31]$_[27]$_[33]$_[0]$_[2]$_[19]$_[34]" ."$_[33]$_[4]$_[23]$_[24]$_[0]$_[35]$_[23]$_[24]". "$_[13]$_[0]$_[1]$_[14]$_[20]$_[43]$_[25]$_[15],";'

Replies are listed 'Best First'.
Re: Learning Perl Vars
by Tanktalus (Canon) on Mar 30, 2005 at 00:14 UTC

    Relying on $^X can be dangerous ... ;-)

    $ perl -e 'print $^X,$/' /home/share/perl5/bin/perl

    The output from the above is then "nuet another perl hacper," or "tu5t another perl hacder," depending on which perl I use to run it with ;-) Only if I actually run it via "/usr/bin/perl" do I get the desired result...

      Yes , you have reason. I update this code . thanks. Now the code run in all path

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: obfuscated [id://443288]
Approved by Tanktalus
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2022-01-18 05:28 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (52 votes). Check out past polls.