Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Perl - Remove duplicate based on substring and check on delimiters

by linuxer (Curate)
on May 18, 2016 at 21:08 UTC ( [id://1163381]=note: print w/replies, xml ) Need Help??


in reply to Perl - Remove duplicate based on substring and check on delimiters

You can use chmod to change file's permissions if you have sufficient permissions to chmod the file.

You should check open's success, so you know directly if open was successful or not and you can behave accordingly.

open(my $handle, '>>', $filename) or die "open($filename,w+) failed: $ +!";
edit: fixed typo
  • Comment on Re: Perl - Remove duplicate based on substring and check on delimiters
  • Download Code

Log In?
Username:
Password:

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

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

    No recent polls found