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

Windows - dirname(__FILE__)

by demichi (Beadle)
on Apr 11, 2014 at 11:33 UTC ( #1081949=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    use File::Basename;
    my $script_dirname = dirname(__FILE__);
    print "dirname: $script_dirname\n";
    
  2. or download this
    C:\Data\scripting\misc>path_test.pl
    dirname: C:\Data\scripting\misc
    C:\Data\scripting\misc>
    
  3. or download this
    C:\Data\scripting\misc>perl path_test.pl
    dirname: .
    C:\Data\scripting\misc>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1081949]
Approved by marto
Front-paged by Corion
help
Chatterbox?
[pryrt]: 5.14.2.1-32 also mismatches; but 5.24.1.1-64 matches their sha1
[pryrt]: The mismatched ones have a Jan 23 2017 Last-Modified header -- I wonder if they rezipped them and forgot to update the sha1
[stevieb]: RT ticket for the csum mismatch of various versions of Strawberry Perl

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2017-03-29 21:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (353 votes). Check out past polls.