Is there a way to create anonymous memory buffers and store them in a hash and then write to them and finally flush the buffers to the hard drive? Basically what I'm doing is creating a basic script that reads in a log file and parses it out in to separate files based on an identifier. There...
I'm getting an error message whenever I try to use the variable $/. The error message that Perl spits out is:
syntax error at Z:/Workspace/PN/PN.pl line 64, near "}continue"
the code I'm using is basically the following:
sub doThings(){
$oldDelim = $/;
undef $/;
slurp things;
$/ =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.