Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: In my perl script one of the variable it is giving an extra dot.

by kcott (Archbishop)
on May 25, 2022 at 14:37 UTC ( [id://11144185]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    s{^[.](?=/root(?:/|$))}{}
    
  2. or download this
    #!/usr/bin/env perl
    
    ...
        $file =~ s{^[.](?=/root(?:/|$))}{};
        is $file, $test->[1];
    }
    
  3. or download this
    1..7
    ok 1
    ...
    ok 5
    ok 6
    ok 7
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-03-29 00:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found