Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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";

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?
[Discipulus]: out of world cup with player as..

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2017-11-22 12:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (319 votes). Check out past polls.

    Notices?