Brandon McCaig wrote:
On Fri, Oct 29, 2010 at 12:57 AM, John W. Krahn wrote:
If this is run on DOS/Windows then Perl will automatically translate "^J^M"
to newline.
On Windows, shouldn't "\cM\cJ" be equal to "\n"? :-/
I'm sorry for using "^J^M" above but in your unix2dos.pl program you
us
On Fri, Oct 29, 2010 at 12:57 AM, John W. Krahn wrote:
> That is usually written as:
>
> use File::Copy qw/ cp mv /;
>
> use takes a list after the module name.
I thought it was up to the module to interpret the list and the
documentation that I was reading online wasn't very clear so I played
it
Hello,
In the below code I am desperately trying to accomplish the valid use of
variable variable names but still fail. I have already read many sites,
tutorials, mailing list posts, all saying that this is best accomplished by
using a hash. Please would you tell me if I understood that correct
Brandon McCaig wrote:
On Thu, Oct 28, 2010 at 9:28 PM, Jeff Peng wrote:
You get the files from windows to un*x?
try the command 'dos2unix'.
^G is a bell character (\a). That's not a platform issue, AFAIK.
Anyway, in response to this thread I wrote Perl scripts that seem to
work as replacement
On Thu, Oct 28, 2010 at 11:21 PM, Brandon McCaig wrote:
> cp $in_fn, "$backup" or die "Failed to backup '$in_fn': $!";
*snip*
> unlink "$backup" or
Sigh. I [wrongly] quoted a variable. :P For the record, $backup
started as "$in_fn.orig". After seeing myself use it more than once I
decided t
On Thu, Oct 28, 2010 at 9:28 PM, Jeff Peng wrote:
> You get the files from windows to un*x?
> try the command 'dos2unix'.
^G is a bell character (\a). That's not a platform issue, AFAIK.
Anyway, in response to this thread I wrote Perl scripts that seem to
work as replacements for dos2unix and uni
于 2010-10-28 21:58, perl_haxor 123 写道:
Hi All,
I'm a beginner in perl and i try to read a file, but these files
contains characters like (^M ^G)..I wanted to know what are these
characters and how can remove them using perl?.and also please let me if
there is any link form wh
Hi perl_haxor,
On Thursday 28 October 2010 15:58:19 perl_haxor 123 wrote:
> Hi All,
>
>I'm a beginner in perl and i try to read a file, but these files
> contains characters like (^M ^G)..I wanted to know what are these
> characters and how can remove them using perl?.and also
Hi all,
Please let me know a way to copying from source host and executing a file on
a remote windows system using perl when
1. When the password of "administrator" account on the remote host is known.
2. When the password of the domain administrator account, to which remote
windows host is part
Hi every body
recently i compiled a svmlight perl module two use svmlight program with
perl
http://search.cpan.org/~kwilliams/Algorithm-SVMLight-0.09/lib/Algorithm/SVMLight.pm
to compile a patch is needed and as i wanted to run it under linux in a 64
bits machine, i used the flag make " CFLAGS=
Hi All,
I'm a beginner in perl and i try to read a file, but these files
contains characters like (^M ^G)..I wanted to know what are these
characters and how can remove them using perl?.and also please let me if
there is any link form where i can find what these characters are a
Alan Haggai Alavi wrote:
On Thursday 28 Oct 2010 06:30:01 Mike Blezien wrote:
I've been out of the programming game for a while and recently got back
into some small programming projects. Just need to figure out if there is
a Perl function to determine the total size of a folder and files? Mean
On Thursday 28 Oct 2010 06:30:01 Mike Blezien wrote:
> Hello,
>
> I've been out of the programming game for a while and recently got back
> into some small programming projects. Just need to figure out if there is
> a Perl function to determine the total size of a folder and files? Meaning
> once
Hi Paul,
Thanks for your reply.
> The problem here is to do with $anz_dbf_db.
>
> You have correctly noted that this is an array reference. To print in
out you
> have used "@$anz_dbf_db", which has printed the elements of the array,
> separated by spaces. This has shown you that there is one
14 matches
Mail list logo