Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Console output != file output

by mkk82 (Initiate)
on Sep 01, 2013 at 17:29 UTC ( [id://1051833]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open (FH, 'out.txt');
       print FH "start" . $type . "end"; 
     close FH;
    
  2. or download this
    my $type = "";
    if ($msgString =~ m/Typ\s*:\s*(\w+)/i) {
     $type = $1;        
    ...
    }#if
    print "start" . $type . "end";
    
  3. or download this
    print "start" . $type . "end\n";
    print "$type\n";
    print "xxxxxxxxxxxxxxxxxxxxxxx$type\n";
    

Log In?
Username:
Password:

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

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

    No recent polls found