Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Learning Perl Vars

by Tanktalus (Canon)
on Mar 30, 2005 at 00:14 UTC ( [id://443312]=note: print w/replies, xml ) Need Help??


in reply to Learning Perl Vars

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...

Replies are listed 'Best First'.
Re^2: Learning Perl Vars
by cristian (Hermit) on Mar 30, 2005 at 14:04 UTC
    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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://443312]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-23 09:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found