thanks :o) I understand the case bit now. I'm now having problems getting it to work for my code. This is it here:
sub Test
{
#Assigning subroutine parametrs to meaningful variables
my $session = $_[0];
my $trunkMode = $_[1];
switch($trunkMode){
case /^[ringNone...
Thanks for your reply guys, but I'm a noob to Perl and am still having a hard time interpreting all the symbols and that correctly, so could you please explain what you assigned to the $var variable, and what the symbols mean in the case statements, i.e /^[ij]$/
#!/usr/bin/perl -w
use strict...
Hi,
I was wondering if I can do this in Perl (multiple cases attached to 1 case block:
use Switch;
switch($var)
{
case 'i'
case 'j'
{
#... some code ...
{
case 'x'
case 'y'
{
#... more code ...
}
}
I know it can be done in like C++...
MIB Central apparently is now known as MIBDepot www.mibdepot.com
*****************************************************************
mibCentral, November 2002
An e-mail newsletter for the SNMP community
*****************************************************************
mibCentral.com has been...
Hi :o)
I was just wondering if I could have a multi-table one-to-one sparse dependent relationship between conceptional tables.
So there will be a base table with a fixed number of rows that contains the index. Then various other tables which uses the base table's index but may only contain a...
Hi,
I'm having a problem when trying to select a record from an Access database with ASP.
Here's the statement
sql = "SELECT * FROM Day_Log WHERE Day_Log.Employee='" & employee & "' AND Day_Log.dWorked=#" & dateEntered & "#"
set rsCheck =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.