Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Learning Perl Vars

by cristian (Hermit)
on Mar 29, 2005 at 17: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 29, 2005 at 19: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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2018-10-16 20:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (89 votes). Check out past polls.

    Notices?