Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^6: Trim Two Characters On Line

by AnomalousMonk (Archbishop)
on Oct 23, 2020 at 22:18 UTC ( [id://11123105]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Win8 Strawberry 5.8.9.5 (32)  Fri 10/23/2020 18:12:03
    C:\@Work\Perl\monks
    ...
    dd $line;
    ^Z
    "r\n\n"
    
  2. or download this
    >perl -Mstrict -Mwarnings -MData::Dump=dd
    my $line = "foo,bar\n";
    ...
    dd $line;
    ^Z
    "foo,ba\n"
    
  3. or download this
    >perl -Mstrict -Mwarnings -MData::Dump=dd
    my $line = "foo,bar\n";
    ...
    dd $line;
    ^Z
    "foo,b\n"
    

Log In?
Username:
Password:

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

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

    No recent polls found