Re: question of what can respond to die [...]

2015-01-28 Thread Harry Putnam
Brandon McCaig writes: [...] snipped excellent extrapolation > I hope that helps. Well, I could not have asked for a fuller answer... thanks. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: question of what can respond to die [...]

2015-01-28 Thread Harry Putnam
Shawn H Corey writes: > On Tue, 27 Jan 2015 09:37:15 -0500 > Harry Putnam wrote: > >> #!/usr/local/src/test/bin/perl >> >> use strict; >> use warnings; >> use Cwd 'abs_path'; >> >> my $tdir = shift; >> > > You can use `-e` to determine if the path exists and `-d` to determine > if it's a dire