Some time ago, Boris Epstein said:

Lazaro,
I don't remember all the details of how you'd do it but I believe you can
use the split() function to split the string and then find the last member
of the resulting array.
Good luck!
Boris.

Thanks Boris and Craig,

Using the split function I get this:

my $url = "http://somesite.org/somefile.zip";;
my @parser = split //+/, $url;
my $file = $#parser;

Thanks very much,
Lázaro.

*****************************************************************************
*  Este mensaje de correo electrónico ha sido procesado  por el  *
*  Servidor  de Correo  Electrónico  de  Frioclima  y  es un correo *
*  válido para el dominio: frioclima.com.cu                                     
*
*****************************************************************************


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to