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

Re: Check For null Arguments

by rnewsham (Hermit)
on Mar 13, 2013 at 15:32 UTC ( #1023234=note: print w/ replies, xml ) Need Help??


in reply to Check For null Arguments

I don't have access to activeperl for a true test but for me on linux this tweak of an extract of your code seems to work.

use strict; use warnings; my $dir = $ARGV[0]; print("ARG=", "$dir", "<<<<<<\n"); if (!$dir) { print ("No Folder Name given!\n"); exit; } print( "The Folder Name is: ", "$dir", "\n" ); #fixdir($dir); print "Done..."


Comment on Re: Check For null Arguments
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2014-07-29 12:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (217 votes), past polls