comp.lang.perl.misc
  Home FAQ Contact Sign in
comp.lang.perl.misc only
 
Advanced search
January 2008
motuwethfrsasuw
 123456 1
78910111213 2
14151617181920 3
21222324252627 4
28293031    5
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
comp.lang.perl.misc Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Classified Script         


Author: auction
Date: Jan 10, 2008 03:04

AJ Classifieds is a fully functional Classifieds Site! With full
administration controls. The user can search for postings by
Description and Main-category. Moreover, there is no registration for
postings.

Sources: http://www.ajclassifieds.net/buy_template.php
no comments
  Error while using BCP in from within a Perl Script         


Author: rajpreetsidhu
Date: Jan 10, 2008 02:11

Greetings,

I am trying to bcp in data into a table from inside a perl script.
Though the data gets inserted into the table but still I am getting
following error :

sh: Starting: execute permission denied
sh: 8: execute permission denied
sh: syntax error at line 4: `(' unexpected
sh: Starting: execute permission denied
sh: 8: execute permission denied
sh: syntax error at line 4: `(' unexpected

Code looks like :

sub bcp_data{
Show full article (0.76Kb)
5 Comments
  Help on Perl Scripting         


Author: Laarni
Date: Jan 10, 2008 01:06

Hi,

Im trying to convert c shell script to PERL but haven't use PERL
before can anybody help me on this? Thanks in advance.

#! /bin/csh

if ($#argv <= 2) then
echo "Usage : $0 "
exit
endif

set table = $argv[1]
set config_file = $argv[2]
set config_file_2 = $argv[3]

source $config_file

if ( $#argv >= 3 ) then
if (-f $config_file_2) then
source $config_file_2
endif
endif
Show full article (3.00Kb)
1 Comment
  FAQ 7.18 How can I access a dynamic variable while a similarly named lexical is in scope?         


Author: PerlFAQ Server
Date: Jan 10, 2008 00:03

This is an excerpt from the latest version perlfaq7.pod, which
comes with the standard Perl distribution. These postings aim to
reduce the number of repeated questions as well as allow the community
to review and update the answers. The latest version of the complete
perlfaq is at http://faq.perl.org .

--------------------------------------------------------------------

7.18: How can I access a dynamic variable while a similarly named lexical is in scope?

If you know your package, you can just mention it explicitly, as in
$Some_Pack::var. Note that the notation $::var is not the dynamic $var
in the current package, but rather the one in the "main" package, as
though you had written $main::var.

use vars '$var';
local $var = "global";
my $var = "lexical";

print "lexical is $var\n";
print "global is $main::var\n";

Alternatively you can use the compiler directive our() to bring a
dynamic variable into the current lexical scope.
Show full article (1.94Kb)
no comments