[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strawberry Perl, Windows7, Powershell and weird data
- To: "silug-discuss@silug.org" <silug-discuss@silug.org>
- Subject: Re: Strawberry Perl, Windows7, Powershell and weird data
- From: "Jason M. Schindler" <jschindler@bucket440.com>
- Date: Tue, 13 Dec 2011 17:33:25 -0600
- DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bucket440.com; h=message-id:in-reply-to:references:date:subject:from:to:mime-version:content-type:content-transfer-encoding; s=bucket440.com; bh=CHC931eF63Q26M0epGDWsNp1/Us=; b=casEvWf8b8MOaaUHZjpNUPZatSwYFserMP6VneHKYgyX170uYtCyA8r0lWCdo4ouSldpfhR3M41qA5TrVprxAJEacbzdPe6zyaERqOub2ttsVnJFjtMM2l6mjdY2GUiXwPTD+wI0uMHOdGKBUTsFoKcK9Fsylos7BJ3tdXkfYuU=
- DomainKey-Signature: a=rsa-sha1; c=nofws; d=bucket440.com; h=message-id:in-reply-to:references:date:subject:from:to:mime-version:content-type:content-transfer-encoding; q=dns; s=bucket440.com; b=k6EH7mHwIy/WvZkKfkcg55V9aGQQ7OdwoWszFEHZhCWJHu702LahnyQsoBDAB05fsUZpNEYGZ565Ke8C0jE7PSQIbIpOUoZjgDaN+BFwGcR0uLzwLxn940SmjnhngaimKiKmFujIgT8NCNryWjIJ+AuB0UvFq6z1wQ7iMlD4LWg=
- In-Reply-To: <1323789477.56344.YahooMailNeo@web31701.mail.mud.yahoo.com>
- Organization: Southern Illinois Linux Users Group
- References: <1323789477.56344.YahooMailNeo@web31701.mail.mud.yahoo.com>
- Reply-To: silug-discuss@silug.org
- Sender: silug-discuss-owner@silug.org
- User-Agent: SquirrelMail/1.4.21
Without seeing your input data and re-creating the issue myself, it is
hard to tell... but I suspect that call to "split" is your issue. Try
changing it to: split(',',$_);
-Jason
> Ok, ignore for a moment the fact that I am using Perl to write a bunch of
> Powershell commands to a file ...
>
> I'm just curious, I seldom use Windows & Perl, why does it add CRLF to
> each character of my data? [See attached screenshot]. It does it whether
> I use Powershell or CMD.exe.
>
>
>
>
> Robert
> http://yesIstillUsePerl.blogspot.com/
> -
> To unsubscribe, send email to majordomo@silug.org with
> "unsubscribe silug-discuss" in the body.
>
-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.