Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: String contents

by perlyr (Novice)
on Jun 29, 2012 at 07:32 UTC ( #979063=note: print w/ replies, xml ) Need Help??


in reply to Re^3: String contents
in thread String contents

still not sure how to use it. Assumer my variable is $var, and my output filehandle is OUTFILE.When I tried the following, it failed. print Dumper($struct->stuff); print OUTFILE "stuff\n";


Comment on Re^4: String contents
Re^5: String contents
by Anonymous Monk on Jun 29, 2012 at 07:38 UTC

    Assumer my variable is $var , and my output filehandle is OUTFILE.When I tried the following, it failed.

    If your variable is called $var why are you trying to print $struct...?

    print OUTFILE Dumper( $var );

    perlintro

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (11)
As of 2014-12-27 17:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls