From: "Rob Dixon" <[EMAIL PROTECTED]>
> Jenda Krynicky wrote:
> > From: "Rob Dixon" <[EMAIL PROTECTED]>
> > >
> > > Don't put \n on the end of a die string, otherwise the Perl
> > > interpreter won't tell you the line number of the failure.
> >
> > Well it's good to know you'll get the line number
Jenda Krynicky wrote:
> From: "Rob Dixon" <[EMAIL PROTECTED]>
> >
> > Don't put \n on the end of a die string, otherwise the Perl
> > interpreter won't tell you the line number of the failure.
>
> Well it's good to know you'll get the line number and source file
> name if you omit the newline, but
From: "Rob Dixon" <[EMAIL PROTECTED]>
> "Leon Rosenstein" <[EMAIL PROTECTED]> wrote:
> >
> > I am having some problems with a script.
> >
> > Currently the script reads:
> >
> > opendir (DIR, "c:/temp") or die "Cant Open Temp Buddy Boy! \n";
>
> Don't put \n on the end of a die string, otherwise t
From: "Rosenstein, Leon" <[EMAIL PROTECTED]>
> Currently the script reads:
> opendir (DIR, "c:/temp") or die "Cant Open Temp Buddy Boy! \n";
> @filenames = readdir (DIR) or die "Can't Hold Filenames \n";
> foreach $name (@filenames)
> {if ($name eq "blah.dat") {rename ($name, "blah.old") or die "
Hi Leon
"Leon Rosenstein" <[EMAIL PROTECTED]> wrote:
>
> I am having some problems with a script.
>
> Currently the script reads:
>
> opendir (DIR, "c:/temp") or die "Cant Open Temp Buddy Boy! \n";
Don't put \n on the end of a die string, otherwise the Perl interpreter
won't tell you the line num
On Mon, 24 Mar 2003 08:58:40 -0500, "Rosenstein, Leon" <[EMAIL PROTECTED]> wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi everyone,
>
> I am having some problems with a script.
>
> Currently the script reads:
> opendir (DI
On Mon, 24 Mar 2003, Rosenstein, Leon wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi everyone,
>
> I am having some problems with a script.
>
> Currently the script reads:
> opendir (DIR, "c:/temp") or die "Cant Open Temp Buddy Boy! \n";
> @filenames = readdir (DIR) or di