Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Readonly variable

by unixwzrd (Beadle)
on Feb 26, 2001 at 22:36 UTC ( #60924=note: print w/replies, xml ) Need Help??


in reply to Readonly variable

Try this:
#!/usr/bin/perl -w my $const = \"Something\n"; chomp( my $newvar = $$const ); print "$newvar "; print "Should be on the same line...\n";

Mike - mps@discomsys.com

"The two most common elements in the universe are hydrogen... and stupidity."
Harlan Ellison

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (1)
As of 2022-05-19 03:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (71 votes). Check out past polls.

    Notices?