James Edward Gray II wrote:
> On Nov 10, 2003, at 4:47 PM, R. Joseph Newton wrote:
>
> > Look down the thread, and you will find correction from others, also.
> > I can
> > tell you that I have generated tousands of files in folders reached by
> > relative paths, and all I have had to offer Perl w
At 01:54 PM 11/10/03 -0800, you wrote:
I tried modifying the open command ar suggested and got the enclosed
errors. Also, I'm working with Activestate Activeperl 5.6 on a Windows
2000. Also, from the syntax of the readdir example, the test is to the
left of the readdir command. Does this mean I
On Monday, Nov 10, 2003, at 14:54 US/Pacific, James Edward Gray II
wrote:
On Nov 10, 2003, at 4:47 PM, R. Joseph Newton wrote:
Look down the thread, and you will find correction from others, also.
I can
tell you that I have generated tousands of files in folders reached by
relative paths, and
On Monday, Nov 10, 2003, at 13:54 US/Pacific, Ganesh Shankar wrote:
[..]
since you chdir INTO the $folder
you need to merely fix the foreach loop:
foreach my $seqfilename (@files){
$seqfilename = '';
comment out the
#$seqfilename ='';
otherwise the next line:
open (TXTFILE
Ganesh Shankar wrote:
>
> Hello all,
Hello,
> I tried modifying the open command ar suggested and got the enclosed
> errors. Also, I'm working with Activestate Activeperl 5.6 on a Windows
> 2000. Also, from the syntax of the readdir example, the test is to the
> left of the readdir command. D
On Monday, Nov 10, 2003, at 11:03 US/Pacific, Wiggins d Anconia wrote:
[..]
This is where I very quickly run across the stage yelling
"File::Spec->catfile" and then just as abruptly as I entered, exit
stage
left...
Wiggins we were having a Lovely Ideological Struggle
between the Forces of Whom
On Nov 10, 2003, at 4:47 PM, R. Joseph Newton wrote:
Look down the thread, and you will find correction from others, also.
I can
tell you that I have generated tousands of files in folders reached by
relative paths, and all I have had to offer Perl was '/'s. It has been
working for some time, a
James Edward Gray II wrote:
> On Nov 10, 2003, at 4:19 PM, R. Joseph Newton wrote:
>
> > Nope. Not at all. System transparency means not having to concern
> > yourself with the system or its quirks, which is what Perl provides in
> > re
> > file access. Not because the '/' separator is 'nix, bu
On Nov 10, 2003, at 4:19 PM, R. Joseph Newton wrote:
Nope. Not at all. System transparency means not having to concern
yourself with the system or its quirks, which is what Perl provides in
re
file access. Not because the '/' separator is 'nix, but because it is
more standard for file systems
Chuck Fox wrote:
> Just tried on my WindowsXP box. I had to enclose the path in double
> quotes. But once I did that, Windows did the right thing,
>
> dir "\temp"
> dir "/temp"
>
> both give me the temp directory listing. Using single quotes or
> backticks does not work.
>
> Chuck
I'll be darn
Guay Jean-Sébastien wrote:
> > It has nothing to do with what ActiveState did or didn't do. The
> > DOS/Windows command interpreter (command.com/cmd.exe) uses '\' as the
> > path separator however the operating system itself is able to use '/' as
> > the path separator.
>
> Sorry, I just tried it
drieux wrote:
> john,
>
> I agree with your basic solution, but since he will
> be doing his development in Windows, shouldn't that
> be 'file system neutral'? hence not using the unix
> separator "/" between the directory component and the filename
> component?
Nope. Not at all. System transpa
Hello all,
I tried modifying the open command ar suggested and got the enclosed
errors. Also, I'm working with Activestate Activeperl 5.6 on a Windows
2000. Also, from the syntax of the readdir example, the test is to the
left of the readdir command. Does this mean I should place my file
proces
Guay jean-Sébastien wrote:
>
> > Which version of Perl from ActiveState did this show up in?
>
> Well, seems ActiveState didn't really have to do anything after all,
> according to John W. Krahn. As far as I remember, it's always been like that
> in ActiveState Perl.
IIRC the ability to use / in
>
> On Monday, Nov 10, 2003, at 10:17 US/Pacific, Guay Jean-Sébastien wrote:
> [..]
> >> I agree with your basic solution, but since he will
> >> be doing his development in Windows, shouldn't that
> >> be 'file system neutral'? hence not using the unix
> >> separator "/" between the directory c
> -Original Message-
> From: Guay Jean-Sébastien
> [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 10, 2003 10:43 AM
> To: 'John W. Krahn'; 'Perl-Beginners'
> Subject: RE: Died on open command
>
>
> > It has nothing to do with what
> That's exactly what John said. ;)
I realized that 5 seconds after I sent the mail... <:-(
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
It has nothing to do with what ActiveState did or didn't do. The
DOS/Windows command interpreter (command.com/cmd.exe) uses '\' as the
path separator however the operating system itself is able to use '/' as
the path separator.
Sorry, I just tried it on my machine he
> Which version of Perl from ActiveState did this show up in?
Well, seems ActiveState didn't really have to do anything after all,
according to John W. Krahn. As far as I remember, it's always been like that
in ActiveState Perl.
But as I said, I still find it great that they didn't do anything to
On Nov 10, 2003, at 12:39 PM, Guay Jean-Sébastien wrote:
It has nothing to do with what ActiveState did or didn't do. The
DOS/Windows command interpreter (command.com/cmd.exe) uses '\' as the
path separator however the operating system itself is able to use '/'
as
the path separator.
Sorry, I ju
> It has nothing to do with what ActiveState did or didn't do. The
> DOS/Windows command interpreter (command.com/cmd.exe) uses '\' as the
> path separator however the operating system itself is able to use '/' as
> the path separator.
Err, just noticed I shouldn't have read so quick...
Still,
> It has nothing to do with what ActiveState did or didn't do. The
> DOS/Windows command interpreter (command.com/cmd.exe) uses '\' as the
> path separator however the operating system itself is able to use '/' as
> the path separator.
Sorry, I just tried it on my machine here (NT4), and doing
c
On Monday, Nov 10, 2003, at 10:17 US/Pacific, Guay Jean-Sébastien wrote:
[..]
I agree with your basic solution, but since he will
be doing his development in Windows, shouldn't that
be 'file system neutral'? hence not using the unix
separator "/" between the directory component and the filename
com
Guay jean-Sébastien wrote:
>
> > I agree with your basic solution, but since he will
> > be doing his development in Windows, shouldn't that
> > be 'file system neutral'? hence not using the unix
> > separator "/" between the directory component and the filename
> > component?
>
> In a move to si
> I agree with your basic solution, but since he will
> be doing his development in Windows, shouldn't that
> be 'file system neutral'? hence not using the unix
> separator "/" between the directory component and the filename
> component?
In a move to simplify porting of scripts (and save the san
On Monday, Nov 10, 2003, at 09:30 US/Pacific, John W. Krahn wrote:
Ganesh Shankar wrote:
[..]
4) I'm developing on a Windows machine, so I think setting file
permissions are unnecessary, right?
This problem is described is explained in the documentation for the
readdir function.
perldoc -f readdir
Ganesh Shankar wrote:
>
> Hello all,
Hello,
> I'm starting to learn perl to convert files between different
> bioinformatics programs. I'm aware of bioperl but want to learn some
> basic perl before using those modules.
>
> 1) The script is in the same directory as the input folder, so open
>
Hello all,
I'm starting to learn perl to convert files between different
bioinformatics programs. I'm aware of bioperl but want to learn some
basic perl before using those modules.
1) The script is in the same directory as the input folder, so open
should be able to find it.
2) The open input
28 matches
Mail list logo