Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

OS X troubleshooting help needed - parse filename & open file

by elef (Friar)
on Oct 17, 2010 at 12:38 UTC ( [id://865794]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    
    print "OK, file opened successfully.    \n\nPress enter to quit\n";
    <STDIN>;
    
  2. or download this
    # DRAG & DROP FILES
    
    ...
            close LOG;
            open (LOG, ">>:encoding(UTF-8)", "$scriptpath/scripts/log.txt"
    +) or print "\nCan't create log file: $!\nContinuing anyway.\n";
        } until (("$folder" eq "$folder2") && ("$file1_full" ne "$file2_fu
    +ll") && ("$ext" eq "$ext2") && (-e "$folder/$file1") && (-e "$folder/
    +$file2") && ($ext ne "doc"));
    

Log In?
Username:
Password:

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

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

    No recent polls found