Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

printing a variable 1

Status
Not open for further replies.

Cagliostro

Programmer
Sep 13, 2000
4,226
GB
I'd like to know if there is a possibility to output a variable.
This variable could be a hash, object, array, or a simple scalar variable. I cannot know exactly. In PHP exists this possibility(I think the function dump, or something like that).

Ion Filipski
1c.bmp
 
Data::Dumper might be what you're looking for, similar to the print_r function in PHP

HTH
--Paul

Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top