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

Re: adding sys env var

by damian1301 (Curate)
on Jul 06, 2001 at 22:58 UTC ( #94551=note: print w/ replies, xml ) Need Help??


in reply to adding sys env var

Using strict doesn't let me prompt for this.

!!!
strict.pm will let you prompt as long as you declare your variable lexically scoped instead of global. You could use this common example:

chomp(my $host = <STDIN>);


$_.=($=+(6<<1));print(chr(my$a=$_));$^H=$_+$_;$_=$^H; print chr($_-39); # Easy but its ok.


Comment on Re: adding sys env var
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2014-10-02 03:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (45 votes), past polls