in reply to Re^4: Sybase BCP date formatter
in thread Sybase BCP date formatter
Call this program with the names of the bcp files you want to fix as arguments. If you want to create a backup of your original files, then change this line:#!/usr/bin/perl use strict; use warnings; { # Put jwkrahn's code here } for my $file (@ARGV) { fix_bcp_file($file); }
to something like this:local ( $^I, @ARGV ) = ( '', $file );
local ( $^I, @ARGV ) = ( '.bak', $file );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Sybase BCP date formatter
by LangeNet (Initiate) on Dec 16, 2008 at 21:14 UTC | |
by runrig (Abbot) on Dec 16, 2008 at 21:26 UTC | |
by LangeNet (Initiate) on Dec 16, 2008 at 21:34 UTC | |
by runrig (Abbot) on Dec 16, 2008 at 21:49 UTC | |
by LangeNet (Initiate) on Dec 17, 2008 at 14:08 UTC | |
|