User Profile

Collapse

Profile Sidebar

Collapse
maverickx
maverickx
Last Activity: Sep 6 '07, 09:54 AM
Joined: Jun 26 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • maverickx
    replied to can you explain a little bit for me
    in Perl
    thank you very much.

    I just had a look at the tutorial of perl, but still have some confusions

    what does @ represent?
    my $id = shift; what does this mean?

    and $1,$2 what are these variables meaning?
    See more | Go to post

    Leave a comment:


  • maverickx
    started a topic can you explain a little bit for me
    in Perl

    can you explain a little bit for me

    Hi, i am totally new to perl.
    I saw one example script but can't figure some syntax out, could you help out.
    Code:
    	$collected = Get_Friends($id,$name,"$profile_file",$limit,$collected); 
    	$profile_file =~ s/>//;
    These codes are in one subroutine, and these is another subroutine called Get_Friends., are these variables in the square parameters like JAVA, C#. And what does =~s mean ?
    ...
    See more | Go to post

  • maverickx
    started a topic Using Regular Expression to extract specific data
    in Perl

    Using Regular Expression to extract specific data

    Hi everyone,
    this is about my one project, i was planning to do like this: Firstly i printed out the source code of one html page on the DOS window, and then use PERL Regular Expression to extract specifc data from the source code , at last save these data in MYSQL tables. Does this work?
    See more | Go to post

  • maverickx
    replied to how to fix this problem
    not code, i installed EMS SQL manager and using this software to create a database
    See more | Go to post

    Leave a comment:


  • maverickx
    replied to how to fix this problem
    i am attempting to create a database. I set up database name, Host name, port number, username and password, then i click 'Finish', it shows the dialogue mentioned above.

    The port number i set is 3306, default one.
    See more | Go to post

    Leave a comment:


  • maverickx
    replied to how to fix this problem
    the default port number is 3306, and i didnt change it
    See more | Go to post

    Leave a comment:


  • maverickx
    started a topic how to fix this problem

    how to fix this problem

    Hi everyone,
    i am not good at MySQL . i have a problem. when i installed a mysql manager software and then create a connection to the database, it says " 2003 can't connect to MySQL server on 'localhost' (10061)", so what's this? need help thanks a lot
    See more | Go to post

  • maverickx
    replied to connect to mysql database
    in Perl
    i am using EMS SQL Manager to create a database.

    It does not work. it says the access was denied.
    i also installed MySQL Server 5.0/

    so why i cant create a database?
    See more | Go to post

    Leave a comment:


  • maverickx
    replied to connect to mysql database
    in Perl
    hi miller,
    here is the code

    Code:
    #!/usr/bin/perl -w
    #connect_test.pl
    
    use strict;
    use DBI;
    
    print "Available Database Drivers:\n";
    print "*" x 40, "\n";
    print join("\n", DBI->available_drivers()), "\n\n";
    
    
    my %attr => ( RaiseError => 0 );
    
    my $dbh = DBI->connect("DBI:mysql:dbname=Orkut_data:localhost",
    ...
    See more | Go to post

    Leave a comment:


  • maverickx
    started a topic connect to mysql database
    in Perl

    connect to mysql database

    Hi everyone,
    i am a totally rookie in perl. I have a project which needs to use perl to connect to mysql database. I already installed the perl mysql driver, MySQL, and use perl code which i found on the internet to connect to the mysql database. However, it says the connection was denied. I didnt set username and password for the database.

    So which problems might result in this situation, need help please
    See more | Go to post
No activity results to display
Show More
Working...