Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Printing a Variable outside of the block

by moritz (Cardinal)
on Apr 15, 2008 at 16:17 UTC ( [id://680554]=note: print w/replies, xml ) Need Help??


in reply to Printing a Variable outside of the block

What do you want the output to be?
  • Comment on Re: Printing a Variable outside of the block

Replies are listed 'Best First'.
Re^2: Printing a Variable outside of the block
by trenchwar (Beadle) on Apr 15, 2008 at 16:24 UTC
    Thanks for the quick response moritz. Same as it is inside the block.
    I would like it to print outside the block just as it does inside the block. So that later in this homework script I can ask a user to "Enter L for a list of classes and Lessons" and have L equal to "$part1$part" or whatever.
    Im just not clear on how to define and pull the variable out of the block.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-25 09:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found