Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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
Replies are listed 'Best First'.
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 taking refuge in the Monastery: (12)
As of 2015-07-30 16:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls