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

Re: Returning Variables from files

by dpuu (Chaplain)
on Jul 21, 2002 at 20:49 UTC ( [id://183869]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      my $name = "Dave";
      my $user = "dpuu";
    ...
    Hello, my name is $name
    and my user name is $user
    HERE
    
  2. or download this
      my $name="Dave";
      my $user="dpuu";
      my $text_file="User.htm";
      my $text=`cat $text_file`;
      eval "print <<HERE;\n$text\nHERE";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-19 11:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found