Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

How to use "sysread" to make it a file

by dudydude (Novice)
on Jul 21, 2011 at 17:05 UTC ( [id://915934]=perlquestion: print w/replies, xml ) Need Help??

dudydude has asked for the wisdom of the Perl Monks concerning the following question:

Hi fellow Monks, quick question: I used "sysread FILEHANDLE,SCALAR,LENGTH" to get the info that is coming back from the server. Now all the information is stored in SCALAR, but how can I make a file with all the information that SCALAR is holding?

Replies are listed 'Best First'.
Re: How to use "sysread" to make it a file
by zentara (Archbishop) on Jul 21, 2011 at 18:54 UTC

      THANK YOU!!! :P

Re: How to use "sysread" to make it a file
by Anonymous Monk on Jul 21, 2011 at 17:14 UTC

    Uhm... Open another file for writing and print it all out?

      Well I want to create a file with all the contents inside SCALAR itself...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-23 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found